Forum: Ruby on Rails Accessing my "homemade" rails server

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4aa0a33fe3348df55f7da20876da6870?d=identicon&s=25 slindsey3000 (Guest)
on 2007-03-22 21:05
(Received via mailing list)

I have instant rails installed and am messing around with Ruby/Rails.
I'm pretty new to this, but how do I access what I've made from other
internet connected computers.

Server is running on port 3000 (i hope that is what radrails is
reporting, and app works fine in that environment)

My ipconfig returns  (XXX omitted for security, not that it may or may
not matter to any hacker)

ip address: 192.XXX.1.3
subnet mask
default gateway: 192.XXX.1.1

I am "developing" on an upstairs computer connected w/ router.

I thought I would be able to access with
i've also tried 192.XXX.1.3:3000/say/hello

doesn't work.   Any help?

391f9b787cdc12aa2c179713f5103e3a?d=identicon&s=25 Ilan Berci (iberci)
on 2007-03-22 21:51
slindsey3000 wrote:
tter to any hacker)
> ip address: 192.XXX.1.3
> subnet mask
> default gateway: 192.XXX.1.1

192.168.x.x  will not work from outside access as that is a loopback
address..  My guess is that you are behind a router and will have to do
some port forwarding to see your app..

hope this helps

7db798c17fea871c27402138b4497912?d=identicon&s=25 Shawn Roske (Guest)
on 2007-03-22 21:56
(Received via mailing list)
I bet I can guess your IP!

10.10.*.* and 192.168.*.* are reserved for internal private networks,
so you don't have to worry about people getting into your computer
using those IPs.

If you are having trouble connecting using another machine on the same
subnet, your firewall is probably blocking your request.

To access an internal address you will have to enable "port
forwarding" on your router/firewall. Basically you set your router to
take all traffic requests on a specific port (in this case, 3000) to
redirect to an internal IP. Depending on your router this could be
simple or a chore.

This topic is locked and can not be replied to.