我刚刚在我的Ubuntu(8.04)盒子上为Nginx安装了乘客.现在“sudo /etc/init.d/Nginx restart”失败,出现以下错误:
Restarting Nginx: [emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: still could not bind()
Nginx.
最佳答案
直接无视(好了
Nginx: [warn] conflicting server name "69.162.95.11" on 69.162.95.11:80,ignored
只是警告69.162.95.11不是共享IP,这不是错误
关于
Nginx: [emerg] bind() to 69.162.95.14:80 Failed (98: Address already in use)
只是重新启动Nginx将解决此问题,如果没有,然后在tweak设置下检查没有ssl端口.安装后,无ssl端口应为8081.
大师
02-12-2011,01:42 AM
从apache或ltespeed关闭端口80
并打开Nginxcp作为端口80