centos启动Nginx提示nginx: [emerg] still could not bind()

Starting nginx: nginx: [emerg] bind() to 0.0.0.0:8080 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8080 failed (98: Address already in use)
nginx: [emerg] still could not bind()  

这个的意思是说,nginx监听的 8080端口已经被使用了。解决方法有两种,一种是换端口,另一种是查看占用端口的进程,把它关掉。

--查询端口所在的进程号
[root@localhost www]# netstat -ntlp | grep 8080
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      29186/java    --杀掉进程
[root@localhost www]# kill -9 29186

nginx: [emerg] still could not bind()相关推荐

  1. centos启动Nginx提示nginx: [emerg] still could not bind()

    centos7中启动Nginx: /usr/local/nginx/sbin/nginx,提示以下内容 [root@localhost nginx-1.8.0]# /usr/local/nginx/s ...

  2. 解决nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

    2019独角兽企业重金招聘Python工程师标准>>> 今天在ubuntu10.04上面安装nginx,安装完成之后尝试启动nginx,使用命令: sudo /etc/init.d/ ...

  3. 解决nginx emerg bind to 80 failed 98 Address alrea

    首选是安装nginx,在./configure出错的情况下,查看错误的报告,如果是缺少一些必要的库,安装这些库,可能的有ssl pcre(这个库我是使用源码安装的,在线安装没有成功,提示看不到这个库) ...

  4. Nginx重启时提示nginx: [emerg] bind() to 0.0.0.0解决方法 老蒋 发布于 2019-06-03 分类:运维笔记 评论(0) 2000+站长交流QQ群: 59

    c 老蒋 发布于 2019-06-03 分类:运维笔记 评论(0) 2000+站长交流QQ群: 594467847(资源和技术交流) 昨天下午老蒋在一台服务器中折腾迁移数据问题的时候,重启Nginx的 ...

  5. nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)

    今天在测试Nginx功能的时候,出现问题如下: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use) ngi ...

  6. nginx启动失败nginx: [emerg] bind() to 0.0.0.0:7001 failed (98: Address already in use)

    ./nginx 启动nginx,在启动时报错端口被占用 [root@localhost sbin]# ./nginx nginx: [emerg] bind() to 0.0.0.0:7001 fai ...

  7. nginx: [emerg] bind() to 0.0.0.0:8082 failed (10013: An attempt was made to acce ss a socket in a wa

    nginx.exe 启动报错 nginx: [emerg] bind() to 0.0.0.0:8082 failed (10013: An attempt was made to acce ss a ...

  8. nginx: [emerg] bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a socket in a way

    启动nginx 报如下错误: nginx: [emerg] bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a s ...

  9. nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

    今天测试Docker下配置一个nginx模板的镜像,装好nginx后,使用nginx -t进行检查,报错如下: 1 2 3 4 [root@a381c4c04132 yum.repos.d]# ngi ...

  10. Nginx做负载均衡报:nginx: [emerg] could not build the types_hash

    环境:KVM/Centos6.3 用Nginx做负载均衡的时候在配置完成后,启动Nginx的时候报: nginx: [emerg] could not build the types_hash, yo ...

最新文章

  1. jQuery-拖动层(在可视区域范围内)
  2. 基于 TensorFlow 的图像识别(R实现)
  3. 并发测试mysql_Jmeter性能测试系列——结果分析与报告输出
  4. Linux驱动之混杂设备(misc)
  5. Redis数据库学习笔记
  6. Zen Cart 常用SQL命令
  7. 【转】javascript Object使用Array的方法
  8. Modelsim的下载及安装
  9. 鸟哥linux命令小结
  10. la是什么牌子_la bruket是什么牌子_哪个国家的_什么档次
  11. Cisco交换机密码破解
  12. excel画图的tips
  13. MTK7681——HLK_M35模块调试
  14. linux逻辑卷下空间丢了,Linux-lvm逻辑卷管理和提示丢失pv物理卷
  15. java中result的作用_JAVA中的Resultset
  16. m基于VDLL的矢量型GPS信号跟踪算法matlab仿真
  17. 本地服务器搭建青龙面板(PC端)
  18. 重建分区表,修复无法格式化的U盘
  19. t4 tesla 驱动程序_KVM直通Tesla T4 GPU安装windows虚拟机出现PCIE报错指向GPU
  20. 电竞高性能主机可以改云服务器吗,电竞主机可以做云服务器吗

热门文章

  1. 软通动力华为外包_软通动力外包到百度?
  2. 命令查看(获取)本机IP地址
  3. 欧盟物联网推动措施重点与趋势观察
  4. CCF计算机职业资格认证考试201312-2试题及答案
  5. python画e指数函数_python绘制指数函数
  6. 中国超级稻在18个亚非国家试种推广 国稻种芯百团计划行动
  7. 探讨广东技术师范大学Windows下MentoHUST上网认证
  8. 平面设计有哪几种设计风格,分享平面设计的12种风格
  9. swust oj 1069
  10. 考试用计算机反思800字,期中考试反思800字(5篇)