sampsong 发表于 2011-12-1 21:49:11

安装lnmp后,网站不能访问

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

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


军哥帮忙看看怎么搞定

sampsong 发表于 2011-12-1 21:52:34

端口号情况

运行: netstat -ntpl
结果:

sampsong 发表于 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

licess 发表于 2011-12-2 08:56:47

ps aux看一下
页: [1]
查看完整版本: 安装lnmp后,网站不能访问