- 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
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 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2023-3-16
编辑: MathWorks Support Team
2024-12-24,16:52
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?
采纳的回答
MathWorks Support Team
2024-12-24,0:00
编辑:MathWorks Support Team
2024-12-24,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:
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.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!