标签: python shell sockets ubuntu
我遇到了错误:
socket.error: [Errno 98] Address already in use
然后我去那个港口找一下那里的东西:
netstat -ant | grep :5000 # result is tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN
被倾听,我不知道它是什么过程。有没有办法清理这个插座?