Question : Ruby On Rails - telnet Connect Failed for Network Ip

When I try to access the RoR home page on http://localhost:3000, I see the page. But, when I try to access the same using the network host name of my machine, the page fails to load.

telnet localhost 3000 - works

telnet 127.0.0.1 3000 - works

telnet / 3000 - Does Not work

Can someone help me where am I getting it wrong. I am a beginner on RoR

Answer : Ruby On Rails - telnet Connect Failed for Network Ip

If it turns out that it is a firewall issue you might also need the -p option which allows you to specify the port as well:

script/server -b 192.168.1.3 -p 3002
=> Booting WEBrick...
=> Rails 2.1.0 application started on http://192.168.1.3:3002

If you are using a different webserver let me know.
Random Solutions  
 
programming4us programming4us