반응형
Error msg
System.Private.CoreLib.dll: 'Failed to bind to address https://127.0.0.1:5001: address already in use.' Inner exceptions found, see $exception in variables window for more details. Innermost exception System.Net.Sockets.SocketException : Address already in use
Solution :
myWebApp % lsof -i:5001
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
myWebApp 2028 alice 163u IPv4 0xde3ded0467c5df47 0t0 TCP localhost:commplex-link (LISTEN)
myWebApp 2028 alice 168u IPv6 0xde3ded12cc60f33f 0t0 TCP localhost:commplex-link (LISTEN)
myWebApp % kill -9 2028
myWebApp % lsof -i:5001
반응형