Why do I receive an error "Failed to start the connector with error... Desired port was: 31515. Last error was: Error while starting socket: 127.0.0.1:31614, Invalid argument" or "Error creating and setting up the model" when installing MATLAB?

54 Ansichten (letzte 30 Tage)
Why do I receive an error "Failed to start the connector with error: Dynamic exception type: class std::runtime_error
std::exception::what: Did not start the server. Desired port was: 31515. Last error was: Error while starting socket: 127.0.0.1:31614, Invalid argument" or "Error creating and setting up the model" when attempting to install MATLAB?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 24 Dez. 2024 um 0:00
Bearbeitet: MathWorks Support Team am 24 Dez. 2024 um 16:52
This error is indicates that ports on the loopback address in the error message are being blocked. There are many things that can cause this including, but not limited to:
  • Installing from a shared drive. Move the installer to a local drive. 
  • Antivirus/security software
  • Operating System firewalls
  • Misconfigured VPN
  • Misconfigured hosts file
  • Blocking said ports intentionally in another manner
If you would like to install MATLAB onto a shared network drive, run the installer from a local drive and set the destination to your network drive to avoid this error. 

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by