端口已经被不存在的进程使用

试图运行使用端口的服务导致错误

Port 20102 is already being used by another process (pid: 821) 

虽然进程不活跃: ps ax | grep 821 ps ax | grep 821没有提供任何东西

netstat -a | grep 20102 netstat -a | grep 20102也没有提供

这怎么可能,可以做什么?

尝试改变你的netstat参数

 netstat -ntupl | grep :20102 

并使用命令进行检查过程中使用

 lsof -i :20102 

netstat的手册,在-a参数上说:全部,但这总是不正确的