Why do I get an error message 'Error: An I/O error occured (Function EnableConnection)' when launching Polyspace remote launcher (R2011b)?

3 views (last 30 days)
When I start Polyspace daemon in Polyspace remote launcher manager on Linux, it reports error:
Initializing connections...
Error: An I/O error occured (Function EnableConnection: Address already in use [addrinuse]).
Error: Could not enable connection to port 12427.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 25 Oct 2013
It is due to the port 12427 is already in use. Follow up steps to check port information:
1. Check which ports are in use:
netstate -lnp
2. If the 'polyspace-RL-' is already running at port 12427, kill it:
kill -9 1234
1234 is the pid number of polyspace-RL-
3. If not, use another port rather than 12427 in remote launcher manager.
4. Restart daemon:
/$PolyspaceRoot/Polyspace_Common/RemoteLauncher/bin/polyspaced
5. Check log to see if daemon is setup:
/var/Polyspace/polyspaced.log

More Answers (0)

Products


Release

No release entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!