【Nginx】nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
来源:互联网 发布:网络剧上瘾 台湾版 mp4 编辑:程序博客网 时间:2024/06/06 00:35
这是端口号的问题,在Linux中1024以下的端口号都需要root权限才能使用,所以普通用户启动程序绑定会报出权限问题。
使用如下命令启动nginx。
sudo nginx
0 0
- 【Nginx】nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
- 【Nginx】nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
- Starting nginx: nginx: [emerg] bind() to 0.0.0.0:8095 failed (13: Permission denied) nginx 启动失败
- nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
- nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
- Starting nginx: nginx: [emerg] bind() to 0.0.0.0:8091 failed (13: Permission denied)
- nginx: [emerg] bind() to 0.0.0.0:9090 failed (13: Permission denied)
- [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
- nginx错误之 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决
- Restarting nginx daemon: nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (98:
- Restarting nginx daemon: nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (98:
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决
- Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
- Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决
- Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
- 川大教师发自白书:一所高校就是一座衙门
- oracle导入导出 创建表空间
- Secret Number
- 下载网站插件安装方法
- 去耦电容的选择以及反电势干扰的抑制
- 【Nginx】nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
- 浅谈Android中用接口完美实现回调的逻辑控制
- 华为机试—大数相减
- Codeforces Round #284 (Div2)
- Logistic模型
- grails gsp页面显示数据库中html代码为转义字符解决方案
- iOS 核心动画之CAKeyFrameAnimation
- objc_msgSend() 报错: too many arguments to function call
- javascript trim()