Pleace give me a solutions quikly...

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

4 Comments

Looks like a problem for tech support.
This could be due to internal firewalls blocking MATLAB from creating connections to the host itself.
What i need to do😓
Torsten
Torsten on 24 Jun 2024
Edited: Torsten on 24 Jun 2024
As said: Contact TMW support.
Or contact your university IT service if you think the problem is on your side.

Sign in to comment.

Answers (1)

Andreas Goser
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.

Categories

Find more on MATLAB Production Server in Help Center and File Exchange

Products

Release

R2024a

Asked:

on 23 Jun 2024

Answered:

on 25 Jun 2024

Community Treasure Hunt

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

Start Hunting!