小编pgm*_*lon的帖子

地址已在使用中,但在netstat或lsof中没有任何内容

我尝试在端口7054上启动Python SimpleHTTPServer:

$ sudo python -m SimpleHTTPServer 7054
...
socket.error: [Errno 98] Address already in use
Run Code Online (Sandbox Code Playgroud)

所以,我运行了以下命令:

$ sudo netstat -ntpu | grep 7054
$ sudo lsof -i -n -P | grep 7054
Run Code Online (Sandbox Code Playgroud)

但我没有结果.

python linux port netstat lsof

14
推荐指数
1
解决办法
8937
查看次数

标签 统计

linux ×1

lsof ×1

netstat ×1

port ×1

python ×1