nginx: [emerg] bind() to 0.0.0.0:9001 failed(
时间: 2023-09-29 07:02:30 浏览: 228
bind失败的解决方案
5星 · 资源好评率100%
根据您提供的引用内容,当启动nginx时出现"nginx: [emerg bind() to 0.0.0.0:9001 failed"错误消息时,通常有两种可能性。
第一种情况是端口小于1024,错误消息可能是"bind() to 0.0.0.0:80 failed (13: Permission denied)"。这是因为在Windows系统中,端口号小于1024的端口需要管理员权限才能绑定。所以,您需要以管理员身份运行nginx或者选择一个大于1024的端口来启动nginx。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【报错】Windows下启动nginx报:bind() to 0.0.0.0:80 failed...](https://blog.csdn.net/qq_53810245/article/details/126766486)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Nginx: [emerg] bind() to 0.0.0.0:8088 failed (13: Permission denied)](https://blog.csdn.net/hwx865/article/details/130845239)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文