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

7 views (last 30 days)
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

Answers (1)

Saurabh
Saurabh on 24 Sep 2024
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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!