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

90 次查看(过去 30 天)
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?

采纳的回答

Abiola Olaleye
Abiola Olaleye 2020-3-3
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.

更多回答(1 个)

Naman Bhaia
Naman Bhaia 2019-2-26
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Production Server 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by