How do I solve a Connector error "Did not start the server. Desired port was: 31415." in Matlab R2019a?

8 次查看(过去 30 天)
I've just installed Matlab R2019b. However, there seems to be a connector error.
Similar warning appears whenever I try to run a script or open a ".mlx" file (can't open .mlx). I've installed JAVA, deactivated my Firewall and tried to use the administrator mode to run matlab.exe, but they didn't work.
Any idea on how to fix it? ?
>> connector on
Error using connector.internal.doEnsureServiceOn
Error in Connector: Did not start the server. Desired port was: 31415. Last error was: Server did not respond to initial
request: 127.0.0.1:31714

回答(1 个)

Saurabh
Saurabh 2024-9-24
Hi @Elise,
I have found a similar question that addresses the same issue.
Refer to this link for the complete solution:
The process adds an exception in the Windows Firewall to allow traffic through a specified TCP port, enabling specific network communications by permitting connections that would otherwise be blocked.
I hope this was helpful.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by