nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
来源:互联网 发布:linux c服务器端开发 编辑:程序博客网 时间:2024/06/10 03:51
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] socket() [::]:80 failed (97: Address family not supported by protocol)
定位方法
1.先使用ps -e | grep nginx查看是否已经启动了nginx
2.如果没有的话则按照提示,查看0.0.0.0:80端口谁占用了,使用netstat -ltunp
命令,可以看到
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nametcp 0 0 127.0.0.1:10000 0.0.0.0:* LISTEN 1177/php-fpmtcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1109/httpdtcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 836/vsftpdtcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 823/sshdtcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1073/mysqld
可以看到0.0.0.0:80端口被httpd这个进程占用了(也就是apcache占用)
阅读全文
0 0
- 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) 错误解决
- 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)
- 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) 解决办法
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
- nginx: [emerg] bind() to 0.0.0.0:8100 failed (98: Address already in use)
- nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
- nginx启动报错nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
- 关于HashSet与TreeSet的区别与联系
- Winform中实现ListBox中项的拖拽
- git教程
- java写的二叉搜索树(生成和前序遍历)
- UVA540Team_Queue
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
- 【死磕Java并发】-----J.U.C之Java并发容器:ConcurrentSkipListMap
- 学以致用——Excel连接Oracle生成iKB报告——Part1(使用VBA从数据库提取汇总数据)
- 最长上升子序列[模板]
- 顺序队列求解迷宫(最优解)
- 多情况下的边界塌陷问题
- opencv学习笔记(1)——读取路径显示图片和保存jpg图片
- linux vim文本编辑器
- Android 手势 正则匹配图片