to 0.0.0.0:80 failed (98: Address already in use)
ps -e | grep nginx netstat -ltunp
你期待的结果是什么?实际看到的错误信息又是什么?
找到80 的pid 进行杀死进程
to 0.0.0.0:80 failed (98: Address already in use)
ps -e | grep nginx netstat -ltunp
找到80 的pid 进行杀死进程
netstat -p
需要 root 权限才可以看到所有用户的进程信息,否则只能看到自己的,其他用户的看不到。
PID/Program name
Slash-separated pair of the process id (PID) and process name of the process that owns the socket. --program causes this column to be included. You will also need superuser privileges to see this information on sockets you don't own.* This identification information is not yet available for IPX sockets.
7 回答5.4k 阅读
4 回答4.1k 阅读
2 回答5.9k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
2 回答855 阅读✓ 已解决
2 回答3.3k 阅读
1 回答1.1k 阅读✓ 已解决