开发者

Cannot Access Rails Server From Outside LAN

This is my first post here. I have a rails server I'm running on a dedicated server that I have jail shell access to. I can start up a rails server and access it just fine using the text-based browser elinks running in that jail shell using both internal and public IP's. However, I ca开发者_StackOverflownnot access the rails server from outside that chrooted environment. Does anyone have any ideas as to what might be going on? Any help would be appreciated. Thanks.


You might want to check the followings:

  1. Check if your LAN is protected by a firewall, most router has a firewall inside and they will block many ports.
  2. Assuming you are running script/server, check the firewall if port 3000 is allowed.
  3. I dont think you are using apache/nginx with passenger/mongrel, are you? if yes check the firewall if port 80 is allowed.
  4. Since you said that the dedicated server has a public IP, i am assuming that port forwarding on the firewall is configured correctly.
  5. You have to access your rails server using http://your_server_public_ip:3000.

Hopefully those checks help you troubleshoot the problem

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜