centos启动Nginx提示nginx: [emerg] still could not bind()
[root@iZbp1aed32ln6eZ sbin]# netstat -ntlp|grep 80 tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 1501/java tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 1501/java tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7225/nginx: master tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 7036/java [root@iZbp1aed32ln6eZ sbin]# kill -9 7225 [root@iZbp1aed32ln6eZ sbin]# ./nginx -s reload nginx: [alert] kill(7225, 1) failed (3: No such process) [root@iZbp1aed32ln6eZ sbin]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 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] still could not bind() [root@iZbp1aed32ln6eZ sbin]# netstat -ntlp|grep 80 tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 1501/java tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 1501/java tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7276/nginx: worker tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 7036/java [root@iZbp1aed32ln6eZ sbin]# killall -9 nginx [root@iZbp1aed32ln6eZ sbin]# systemctl restart nginx Failed to restart nginx.service: Unit not found. [root@iZbp1aed32ln6eZ sbin]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf [root@iZbp1aed32ln6eZ sbin]# ./nginx -s reload
【推荐】中国电信天翼云云端翼购节,2核2G云服务器一口价38元/年
【推荐】博客园携手 AI 驱动开发工具商 Chat2DB 推出联合终身会员
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· MySQL 优化利器 SHOW PROFILE 的实现原理
· 在.NET Core中使用异步多线程高效率的处理大量数据
· 聊一聊 C#前台线程 如何阻塞程序退出
· 几种数据库优化技巧
· 聊一聊坑人的 C# MySql.Data SDK
· 跟着 8.6k Star 的开源数据库,搞 RAG!
· .NET 9 中的 多级缓存 HybridCache
· 夜莺 v8 第一个版本来了,开始做有意思的功能了
· .NET 9 增强 OpenAPI 规范,不再内置swagger
· 推荐一个C#轻量级矢量图形库