运行spork时出现错误:地址已在使用中 [英] Running spork I get the error: Address already in use
本文介绍了运行spork时出现错误:地址已在使用中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我认为这是因为进程无法正确关闭,因此仍在运行.但是使用top或ps我找不到它.有什么方法可以找到它在哪里运行,还是可以迫使它重新打开端口?
I'm assuming it was because the process didn't close properly and so is still running. But using top or ps I can't find it. Is there a way to find where it's running, or to have it force reopen the port?
推荐答案
尝试sudo netstat -lpn
来查看正在侦听哪些端口以及正在侦听哪些进程.
try sudo netstat -lpn
to see what ports are being listened to, and what processes are listening.
这篇关于运行spork时出现错误:地址已在使用中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文