当前位置: 代码迷 >> 综合 >> [nginx] [emerg] bind() to 0.0.0:80 failed (10013: an attempt was made to acces a socket in a way for
  详细解决方案

[nginx] [emerg] bind() to 0.0.0:80 failed (10013: an attempt was made to acces a socket in a way for

热度:32   发布时间:2023-12-12 01:20:26.0

environment

windows

operation

start nginx.exe
打开 127.0.0.1

error

[emerg] bind() to 0.0.0:80 failed (10013: an attempt was made to acces a socket in a way forbidden by its acces permission)

solution

默认80端口启动之后,访问 127.0.0.1 页面显示Not Fount 404
原因是:80端口被占用,修改配置换个端口即可

  相关解决方案