Why do I receive a Connector error with last error "Address already in use" when launching MATLAB or Simulink?
41 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 7 de Mayo de 2019
Comentada: Ridhima Chopra
el 22 de En. de 2022
Why do I receive the following error when starting MATLAB?
Warning: Issue starting Connector. Please check that port 31415 is available. Did not start the server. Desired port was: 31515.
Last error was: Error while starting socket: Net Exception: Address already in use: 127.0.0.1:31714, 10048
Or the following error when starting Simulink? ERROR: Warning: Error in Connector: Did not start the server. Desired port was: 31515. Last error was: Error while starting socket: Net Exception: Address already in use: 127.0.0.1:31714, 10048
Respuesta aceptada
MathWorks Support Team
el 8 de Jun. de 2020
This issue is related to the fact that MATLAB tries to bind to all loopback network interfaces found on the system. If there are more than one network interface, it could be causing a conflict which results in the Connector Errors. Removing any loopback network interfaces such as Wireshark & Npcap should resolve the issue.
0 comentarios
Más respuestas (1)
Abiola Olaleye
el 3 de Mzo. de 2020
Solution
To add a Windows firewall port exception:
- On the client operating system, go to Start>Run and type firewall.cpl. The Windows Firewall window opens.
- Click on the “Advanced Settings” link on the left pane. The Windows Firewall with Advanced security window opens.
- Click on the “Inbound Rules” option.
- On the left pane, click on “New rule”.
- Under “Rule Type” select the option “Port” and click next.
- Select “TCP”and “specific local ports” options.
- Key in the port number, the default port is TCP port 135.
- Click Next.
- Select the option “Allow the connection”.
- Click Next, do not change any option here and click Next again.
- Specify a name for this rule.
- Click Finish.
1 comentario
Ver también
Categorías
Más información sobre Database Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!