Why do I get "Server failed to start (error code = 10048)" when launching MATLAB Production Server on Windows?

4 Ansichten (letzte 30 Tage)
When trying to start a MATLAB Production Server instance via the dashboard on Windows, I am getting the error "Server failed to start (error code = 10048)". How do I resolve this error?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 11 Nov. 2025 um 0:00
This error occurs when the port specified for your MATLAB Production Server instance is either blocked by a firewall or already in use by another application or Instance.
The same error code = 10048 and cause applies when starting an Instance through the Dashboard or through the Command Line using the scripts. 
To resolve this, you will need to free up the port, or configure your server instance to use a different, available port.
Confirm the Port Status
  1. Find the HTTP port you are trying to start the instance with.
    1. Dashboard: The HTTP port is in the "Settings" tab of the Instance.
    2. Script: The HTTP port is listed as --http <port> in the main_config file of the Instance.
      "Path\To\Instance\config\main_config"
  2. Enter the following in Command Prompt replacing <port> with the port number in use:
    netstat -ano | findstr :<port>
  3. If the above command outputs results for the port number, the port is in use. If you would like to identify the process using the port based on the PID obtained from the netstat output, enter the following in command prompt:
    tasklist | findstr <PID>
Resolve the Port issue:
Once you confirm the port is in use, you can either:
  • Stop the other application/service to free up the port and allow MATLAB Production Server to start the Instance.
  • Change the Port the Instance is trying to start with, by editing the HTTP port
    • Dashboard: The HTTP port is in the "Settings" tab of the Instance.
    • Script: The HTTP port is listed as --http <port> in the main_config file of the Instance
Check the Firewall Settings
It's possible that you may encounter an error even if the port is not use.
Allow for inbound and outbound connections for the port or add an exception for MATLAB Production Server.
Restart MATLAB Production Server
If the issue persists, restart MATLAB Production Server.

Weitere Antworten (0)

Kategorien

Mehr zu Server Management 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