Each socket address (protocol / network address / port) only once

System.Net.Sockets.SocketException (0x80004005): each socket address (protocol / network address / port) only once.
In System.Net.Sockets.Socket.DoBind (EndPoint endPointSnapshot, SocketAddress socketAddress)
in System.Net.Sockets.Socket.Bind (EndPoint localEP)

 

Port is found to be occupied by another program, this program can be shut down

cmd in

netstat -ano find the port corresponding pid

tasklist | more to view the corresponding program to the end of the process

 

Guess you like

Origin www.cnblogs.com/simadi/p/11130739.html