尝试运行使用端口的服务会导致错误
Port 20102 is already being used by another process (pid: 821)
Run Code Online (Sandbox Code Playgroud)
尽管进程不活跃:ps ax | grep 821没有提供任何信息
netstat -a | grep 20102也不给出任何东西
这怎么可能以及可以做什么?
小智 6
尝试更改 netstat 参数
netstat -ntupl | grep :20102
Run Code Online (Sandbox Code Playgroud)
并使用命令检查正在使用的进程
lsof -i :20102
Run Code Online (Sandbox Code Playgroud)
netstat 手册,关于-a参数说:全部,但这并不总是正确的
| 归档时间: |
|
| 查看次数: |
16462 次 |
| 最近记录: |