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.
1 回答1.3k 阅读✓ 已解决
3 回答911 阅读✓ 已解决
1 回答739 阅读✓ 已解决
1 回答1.5k 阅读
1 回答890 阅读✓ 已解决
2 回答677 阅读✓ 已解决
2 回答737 阅读✓ 已解决