开发者

Can't run rails server as daemon

I'm using rails 2.3.2 and when I run开发者_开发知识库 script/server -d, the only output I get is

=> Booting Mongrel => Rails 2.3.2 application starting on http://0.0.0.0:3000

which is fine. But when I check for anything running on port 3000, i get nothing. Any ideas?


If the mongrel server has started, which appears to be the case, it's probably a firewall issue which you would need to manage via iptables.

From the local machine try to connect to localhost:3000.

For example curl http://localhost:3000 or telnet localhost 3000

If this wasn't the problem and the rails logs are uneventful, you could also have a look in various system logs such as /var/log/messages or /var/log/secure which may hint you on what's going on.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜