nginx错误之 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)-nginx错误之 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

谷子猫博客

一个简单爱分享的小站!^_^!
首页>> 技术文档 >>nginx错误之 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx错误之 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

引用
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

这个是nginx重启时经常遇到的。原因是nginx重复重启,自己占用了80端口。

解决方法:


#killall -9 nginx #杀掉nginx 进程
#/usr/local/nginx/sbin/nginx    #然后启动


这样就解决了。


×

感谢您的支持,我们会一直保持!

扫码支持
请土豪扫码随意打赏

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

打赏作者
版权所有,转载注意明处:谷子博客 » nginx错误之 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
标签: 教程 网络 转载

发表评论

路人甲

网友评论(2)

  79
hrrp3869 13年前 (2011-12-03) 回复
测试
测试 13年前 (2011-11-28) 回复