Troubleshooting
This chapter provides troubleshooting information for common issues encountered with Milan Manager.
Milan Manager failed to bind port on Windows
On some computers, launching Milan Manager may fail with a fatal error message indicating that it cannot bind to port "localhost:60061/2/3".
Fatal error. Exception: Failed to bind port "localhost:60061/2/3"

There are two known root causes for this issue:
Firewall
A personal firewall might be blocking Milan Manager's internal communication.
Solution
Please ensure that your firewall allows access to Milan Manager.
TCP dynamic port range
Windows reserves certain TCP ports for dynamic use during runtime. Even if these ports are not actively in use, they may be blocked for other applications. The TCP ports used by Milan Manager might fall within this dynamic range and need to be excluded.
To check the current port range in use, open a PowerShell window with administrator rights:
- Press
WIN+X, then release both keys and pressA. - Within the PowerShell window, use
netsh int ipv4 show dynamicport tcpto display the current dynamic port range. - To list existing exceptions, use
netsh int ipv4 show excludedportrange protocol=tcp.
Solution
To exclude the ports used by Milan Manager from the dynamic port range, execute the following commands in PowerShell with administrator rights:
- Press
WIN+X, then release both keys and pressA. net stop winnatto stop the Windows driver managing the dynamic port range.netsh int ipv4 add excludedportrange protocol=tcp startport=60061 numberofports=3to exclude the TCP ports used by Milan Manager.net start winnatto restart the Windows driver managing the dynamic ports.
In rare cases, if one of the ports was already excluded, the second command may fail. Instead, add the ports individually using:
netsh int ipv4 add excludedportrange protocol=tcp startport=60061 numberofports=1netsh int ipv4 add excludedportrange protocol=tcp startport=60062 numberofports=1netsh int ipv4 add excludedportrange protocol=tcp startport=60063 numberofports=1