按照老师讲的在浏览器上访问不了
来源:2-11 Nginx的目录和配置语法_默认配置与默认站点启动
qq_期待_34
2018-02-08
[root@bogon conf.d]# tail -f /var/log/nginx/error.log
2018/02/08 21:13:47 [notice] 10762#10762: signal process started
2018/02/08 21:14:42 [emerg] 10764#10764: bind() to 0.0.0.0:80 failed (98: Address already in use)
2018/02/08 21:14:42 [emerg] 10764#10764: bind() to 0.0.0.0:80 failed (98: Address already in use)
2018/02/08 21:14:42 [emerg] 10764#10764: bind() to 0.0.0.0:80 failed (98: Address already in use)
2018/02/08 21:14:42 [emerg] 10764#10764: bind() to 0.0.0.0:80 failed (98: Address already in use)
2018/02/08 21:14:42 [emerg] 10764#10764: bind() to 0.0.0.0:80 failed (98: Address already in use)
2018/02/08 21:14:42 [emerg] 10764#10764: still could not bind()
2018/02/08 21:23:19 [notice] 10860#10860: signal process started
2018/02/08 21:27:18 [notice] 10891#10891: signal process started
2018/02/08 21:27:46 [notice] 10895#10895: signal process started
3回答
-
bind() to 0.0.0.0:80 failed (98: Address already in use)
这个错误的提示,表示你系统上的80端口已经被应用程序占用了。
在系统上执行:netstat -luntp|grep 80 ,看看是否有进程占用
022018-02-09 -
qq_期待_34
提问者
2018-02-08
Permissive
[root@bogon ~]# iptables -F
[root@bogon ~]# iptables -t nat -F
[root@bogon ~]# getenforce
Permissive
[root@bogon ~]# setenforce 0
[root@bogon ~]# getenforce
Permissive
我怎么管不上这个呢
00 -
qq_期待_34
提问者
2018-02-08
服务器telnet 127.0.01 80 不通
00
相似问题