When trying to start network service, the error message popped up to indicate a computer network port that mainconsole is going to use which is being occupied.
It is probably caused by that other application occupied the network port.
It results in that Mainconsole cannot transmit data through this port number.
1. Use windows command to look up the process and close/modify the setting
There are two solutions as below:
1.1 Change the default port of network service.
1.2 If the port number cannot be changed in your scenario, please follow the instructions below to inspect which program occupied the network port, and then end that process.
1.2.1 Type this command “netstat - nao” in command window to check which program occupied the specific port. You could find this information on local address.
1.2.2 Check the PID then open task manager to find the program. If you cannot find the “PID” column in task manager, please click “View” tab to add PID column in task manager window.
1.2.3 After you found this program, please end this process then try to start the network service again.
Note: If you find out the PID belong to Mainconsole but this error message still exists, please end Maincosnole process then open Mainconsole again, and this issue should be resolved.
2. Use Process hacker to look up the process and close/modify the setting
If you choose to use 3rd party tool "processhacker" (freeware)
Execute the software.
Click the "Network" then sort the local port could easily find what process occupied the port.