티스토리 뷰

728x90
반응형

Ubuntu Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use.

1. sudo netstat -tunip
2. port 5000 PID num 확인
3. sudo kill -9 27481
4. 서비스 재시작.

------------------

$ sudo netstat -tunlp

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    

tcp        4      0 127.0.0.1:5000          0.0.0.0:*               LISTEN      27481/dotnet    

 

반응형
댓글