Did not start the server. Desired port was: 31415.

90 Ansichten (letzte 30 Tage)
yu wang
yu wang am 23 Feb. 2019
Kommentiert: xjtunk xjtunk am 16 Mai 2024
Did not start the server. Desired port was:
31415. Last error was: Server did not respond to initial request: 127.0.0.1:31614
how to solve this?
  1 Kommentar
Walter Roberson
Walter Roberson am 23 Feb. 2019
https://www.mathworks.com/help/matlabmobile/ug/troubleshooting-desktop-connections.html

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Abiola Olaleye
Abiola Olaleye am 3 Mär. 2020
Solution
To add a Windows firewall port exception:
  1. On the client operating system, go to Start>Run and type firewall.cpl. The Windows Firewall window opens.
  2. Click on the “Advanced Settings” link on the left pane. The Windows Firewall with Advanced security window opens.
  3. Click on the “Inbound Rules” option.
  4. On the left pane, click on “New rule”.
  5. Under “Rule Type” select the option “Port” and click next.
  6. Select “TCP”and “specific local ports” options.
  7. Key in the port number, the default port is TCP port 135.
  8. Click Next.
  9. Select the option “Allow the connection”.
  10. Click Next, do not change any option here and click Next again.
  11. Specify a name for this rule.
  12. Click Finish.
  3 Kommentare
teen h
teen h am 14 Okt. 2022
帮了大忙了
xjtunk xjtunk
xjtunk xjtunk am 16 Mai 2024
Is there an solution for Ubuntu 22.04?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Naman Bhaia
Naman Bhaia am 26 Feb. 2019
Hi ,
Some workarounds that can help are:
1. Try the connector in your web browser from the localhost address: Make sure that the connector is running on the specified port on your computer. To do so, open your web browser and navigate to:
http://localhost:31415
(If you specified a different port number while installing the components, replace 31415 with your port number.)
If the connector can use the port, a message appears in the browser window, such as:
"MATLABConnector is set up correctly!"
Otherwise, consider changing the port number to something other than 31415 (if you did not change the port during initial configuration). Valid values are from 1,024 through 65,535. For help selecting the port, contact your system administrator. For instructions on changing the port, see Changing the Port and Updating Connections
2. Try the connector in your browser using your IP address or Fully Qualified Hostname:
Is a firewall or antivirus software blocking access to the port? To test, open a web browser on your local computer and navigate to:
http://computerID:31415
The computerID is the fully qualified DNS name or IP address of your computer. If the test is successful, the connector displays a message in the browser window, as described in the previous step. Otherwise, modify your firewall or antivirus settings to allow the use of the port. For help with these settings, contact your system administrator.

Kategorien

Mehr zu MATLAB Production Server finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by