Pleace give me a solutions quikly...
14 views (last 30 days)
Show older comments
java.lang.RuntimeException: Dynamic exception type: class std::runtime_error
std::exception::what: Did not start the server. Desired port was: 31515. Last error was: Failed to start server: 127.0.0.1:31614
at com.mathworks.matlabserver.connector.impl.ConnectorImpl.doNativeEnsureServiceOn(Native Method)
at com.mathworks.matlabserver.connector.impl.ConnectorImpl.doEnsureServiceOn(ConnectorImpl.java:231)
at com.mathworks.matlabserver.connector.api.Connector.ensureServiceOn(Connector.java:150)
at com.mathworks.mde.liveeditor.plugins.execution.LiveEditorExecutionDockingManager.<init>(LiveEditorExecutionDockingManager.java:35)
Warning: Issue starting Connector. Please check that port 31515 is available. Dynamic exception type: class std::runtime_error
std::exception::what: Did not start the server. Desired port was: 31515. Last error was: Failed to start server:
127.0.0.1:31614
at com.mathworks.mde.liveeditor.plugins.execution.LiveEditorExecutionDockingManager.getInstance(LiveEditorExecutionDockingManager.java:25)
at com.mathworks.mde.liveeditor.LiveEditorInitializationManager.initialize(LiveEditorInitializationManager.java:26)
at com.mathworks.mde.desk.MLDesktop$7$1.run(MLDesktop.java:935)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
java.lang.RuntimeException: Dynamic exception type: class std::runtime_error
std::exception::what: Did not start the server. Desired port was: 31515. Last error was: Failed to start server: 127.0.0.1:31614
Answers (1)
Andreas Goser
on 25 Jun 2024
There is a generic knowledgebase article about the "31515 error here, which points to firewall topics as mentioned in the comments. And yes, if you and your IT cannot solve this, please contact MathWorks support.
0 Comments
See Also
Categories
Find more on Java Package Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!