Can't access Rails server from local network

This is my first post here. I have a rails server that I run on a dedicated server that I have jail shell access to. I can start the rails server and access it simply with elinks text browsers running in this jail shell using both internal and public IPs. However, I cannot access the rails server from outside this chrooted environment. Does anyone have any ideas as to what might be going on? Any help would be greatly appreciated. Thanks.

+2


a source to share


1 answer


You might want to check the following:

  • Check if your LAN is protected by a firewall, most routers have a firewall inside and they will block many ports.
  • Assuming you are running script / server check your firewall if port 3000 is allowed.
  • I don't think you are using apache / nginx with a passenger / mongrel, do you? if yes, check your firewall if port 80 is allowed.
  • Since you said that the dedicated server has a public IP, I'm assuming that port forwarding to the firewall is configured correctly.
  • You need to access your rails server with http: // your_server_public_ip: 3000 .


We hope these checks help you fix the problem.

+1


a source







All Articles