nginx 貌似启动不了

来源:12-2 .centos安装LNMP环境

慕哥3993229

2017-08-23

[root@iZuf6inlskt1jxltie9koyZ ~]# 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: [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: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

nginx: [emerg] still could not bind()

[root@iZuf6inlskt1jxltie9koyZ ~]# netstat -anptu | grep nginx

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      8297/nginx: master  

[root@iZuf6inlskt1jxltie9koyZ ~]# 

写回答

1回答

rustgopy

2017-08-23

同学,你好,这里说明已经启动了

nginx -s stop 关闭nginx

nginx 启动nginx

0
0

Python Flask 构建微电影视频网站

Python 最好用轻量级框架,让你轻松胜任 Python Web 工程师

683 学习 · 663 问题

查看课程