MServer: Server failed to bind socket to port:5060

Monkey Forums/Monkey Bug Reports/MServer: Server failed to bind socket to port:5060

Raul(Posted 2014) [#1]
Just loaded my project from yesterday. I receive this error message:

I deleted my build folder and tried again.

MServer: Server failed to bind socket to port:50607


marksibly(Posted 2014) [#2]
This means mserver can't bind to port 50607 (the port used by mserver). This is usually because something else is already bound to it.

Have you tried rebooting your computer?

Anyone know of any utils that tell you what's bound where?


nikoniko(Posted 2014) [#3]
marksibly wrote:
Have you tried rebooting your computer?


Raul didn't say about OS.
Firewall/antivirus are blocked ports or applications sometimes. Other instance of MServer is running in sandbox, for example.


dawlane(Posted 2014) [#4]
Anyone know of any utils that tell you what's bound where?

Command line tools below that will give you a list of ports and processes that are using them.

Windows as Administrator:
netstat -anob

OS X:
sudo lsof -i -P | grep -i "listen"

Linux:
sudo netstat -atp | grep -i "listen"


For OS X and Linux: removing | grep -i "listen" will give you a full summery.


Raul(Posted 2014) [#5]
well, it seams there was a program who blocked that port.. sad

solved now