出现这个问题是因为80端口被占用了

nginx启动失败/报错(bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket...permissions) nginx启动失败

 

 1、cmd输入命令netstat -aon|findstr “80”

nginx启动失败/报错(bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket...permissions) nginx启动失败

2.、查看80端口 16356对应的任务

输入命令 tasklist|findstr "16356"

nginx启动失败/报错(bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket...permissions) nginx启动失败

 3、结束掉16356的任务

nginx启动失败/报错(bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket...permissions) nginx启动失败

 4、启动nginx

nginx启动失败/报错(bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket...permissions) nginx启动失败

 浏览器输入localhost

nginx启动失败/报错(bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket...permissions) nginx启动失败

 

相关文章:

  • 2021-05-09
  • 2022-12-23
  • 2021-12-03
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
猜你喜欢
  • 2022-12-23
  • 2021-07-22
  • 2021-08-27
  • 2021-04-21
  • 2021-09-17
  • 2021-06-05
相关资源
相似解决方案