# Accessing my "homemade" rails server

**URL:** <https://www.ruby-forum.com/t/accessing-my-homemade-rails-server/89805>\
**Category:** Rails\
**Created:** [March 22, 2007, 9:05pm UTC](https://www.ruby-forum.com/t/accessing-my-homemade-rails-server/89805 "2007-03-22T21:05:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slindsey3000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Post date:** [March 22, 2007, 9:05pm UTC](https://www.ruby-forum.com/t/accessing-my-homemade-rails-server/89805/1 "2007-03-22T21:05:21Z")

</div>

Hi,

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 255.255.255.0  
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  
[http://192.XXX.1.1:3000/say/hello](http://192.XXX.1.1:3000/say/hello)  
i’ve also tried 192.XXX.1.3:3000/say/hello

doesn’t work. Any help?

Thanks!

---

<div class="post-metadata">

**Author:** ![slindsey3000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Post date:** [March 22, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/accessing-my-homemade-rails-server/89805/2 "2007-03-22T21:51:52Z")

</div>

slindsey3000 wrote:  
tter to any hacker)

> ip address: 192.XXX.1.3  
> subnet mask 255.255.255.0  
> 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

ilan

---

<div class="post-metadata">

**Author:** ![slindsey3000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Post date:** [March 22, 2007, 9:56pm UTC](https://www.ruby-forum.com/t/accessing-my-homemade-rails-server/89805/3 "2007-03-22T21:56:30Z")

</div>

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.

-Shawn
