启动Nginx失败 15

2015/05/2413:08:15[emerg]24652#24728:bind()to0.0.0.0:80failed(10013:Anattemptwasmadet... 2015/05/24 13:08:15 [emerg] 24652#24728: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 13:08:26 [emerg] 24232#21132: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 13:14:10 [emerg] 27904#27908: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 13:14:41 [emerg] 28488#28492: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 13:16:39 [emerg] 27672#24708: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 13:19:31 [emerg] 6128#8724: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:01:40 [emerg] 29028#28816: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:02:23 [emerg] 22668#25008: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:05:27 [emerg] 31156#31160: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:05:49 [emerg] 31832#31836: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:08:56 [emerg] 31196#31072: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:14:26 [emerg] 1908#24408: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:23:32 [emerg] 32008#33460: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:23:46 [emerg] 29836#18940: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:24:17 [emerg] 34320#33968: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:29:39 [emerg] 34048#33396: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
2015/05/24 14:30:05 [emerg] 33576#30464: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
提示在上面,主要是什么问题,请大侠们回答,详细点
展开
 我来答
淡然且缤纷丶好汉v
2016-02-02 · TA获得超过6128个赞
知道大有可为答主
回答量:1241
采纳率:88%
帮助的人:555万
展开全部

  Nginx服务有时启动失败,原因是80端口为其它应用程序占用了,这时,需要查看是哪个程序占用了它,可能是IIS的某个站点,或者Tomat,Apache等,都有可能,所以,需要查看一下电脑80端口的使用情况,使用下面命令:
  netstat -aon|findstr “:80″

  这时,并没有看到本机有被PID为4的进程占用,在任务管理器里找到了它;

  关闭80端后,再运行我们的nginx服务。
  另外,需要知道的nginx三个主要的命令:
  启动服务:start nginx
  停止服务:nginx -s stop
  重新加载:nginx -s reload(配置文件被修改后需要执行它),即可。

快又稳
2024-10-28 广告
Apache基于域名的虚拟主机配置主要涉及到在Apache配置文件中为不同域名指定不同的网站目录和日志路径。配置时,需确保域名已正确指向服务器的IP地址。在Apache的`httpd-vhosts.conf`或类似配置文件中,为每个域名创建... 点击进入详情页
本回答由快又稳提供
835313421
2018-03-31 · TA获得超过9764个赞
知道小有建树答主
回答量:86
采纳率:100%
帮助的人:4.1万
展开全部

Nginx服务有时启动失败,原因是80端口为其它应用程序占用了,这时,需要查看是哪个程序占用了它,可能是IIS的某个站点,或者Tomat,Apache等,都有可能,所以,需要查看一下电脑80端口的使用情况,使用下面命令:  netstat -aon|findstr “:80″

这时,并没有看到本机有被PID为4的进程占用,在任务管理器里找到了它;

关闭80端后,再运行我们的nginx服务。  另外,需要知道的nginx三个主要的命令:  启动服务:start nginx  停止服务:nginx -s stop  重新加载:nginx -s reload(配置文件被修改后需要执行它),即可。

本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
killed000
2015-05-26 · TA获得超过515个赞
知道小有建树答主
回答量:975
采纳率:0%
帮助的人:597万
展开全部
应该是 80 端口被其他程序占用了。你查出来是谁占用了,把那个程序杀掉进程。

Linux系统 查看
#netstat -ltunp|grep "80"

Windows系统
C:\Users\Administrator>netstat -aon | findstr :80
本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(1)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式