nginx: [emerg] 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)
时间: 2023-08-17 14:13:21 浏览: 244
Linux系统上Nginx+Python的web.py与Django框架环境
这个错误信息表示nginx在绑定到0.0.0.0:80时失败了,原因是被拒绝访问。这通常是因为80端口已经被其他程序占用了。你可以通过运行命令"netstat -aon|findstr "80""来查看哪个程序正在使用80端口。这个命令会列出所有正在监听80端口的程序以及它们的进程ID。然后你可以通过任务管理器或者命令行来结束这个进程,以便nginx可以成功绑定到80端口并启动。
#### 引用[.reference_title]
- *1* [Windows下启动nginx报错: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket](https://blog.csdn.net/qq_59125846/article/details/130623734)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [nginx启动失败(bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket…...](https://blog.csdn.net/zch981964/article/details/127318302)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文