VPS侦探论坛

 找回密码
 注册
查看: 5784|回复: 3

安装lnmp后,网站不能访问

[复制链接]
发表于 2011-12-1 21:49:11 | 显示全部楼层 |阅读模式

安装lnmp后,网站不能访问,不论是通过IP还是域名,不知道怎么回事?
运行:/etc/init.d/nginx  start
提示:

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


军哥帮忙看看怎么搞定
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-12-1 21:52:34 | 显示全部楼层

端口号情况



运行: netstat -ntpl
结果:
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-1 21:52:45 | 显示全部楼层

Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                            e       PID/Program name
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LIST                            EN      2152/mysqld
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LIST                            EN      1686/portmap
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LIST                            EN      2019/sshd
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LIST                            EN      2188/sendmail: acce
tcp        0      0 0.0.0.0:636                 0.0.0.0:*                   LIST                            EN      1726/rpc.statd
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-12-2 08:56:47 | 显示全部楼层



ps aux看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 19:04 , Processed in 0.026661 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表