Accessing the ROR Application

hi all,

I successfully deployed the ROR project on Centos server,i have one question how can i access that application from my machine ?
on starting WEBRick server it is started on this ip http://0.0.0.0:3006, i want to set my machine ip in place of ‘http://0.0.0.0:3006’ and also
how i can access it from my machine ?

Thanks in advanced.

Thanks and Regards
Sachin S. Kewale

replace 0.0.0.0 with your IP address.

if your centos server IP is 192.168.168.2 then you should access it using this address

http://192.168.168.2:3006

make sense?

Thank You

/Lito Manansala
twitter: @avmanansala <https://twitter.com/#%21/avmanansala>

skype: bulcrack

change your hosts file localhost to you ip address.

Hi, I think what you are asking is how to find out your machines IP address and then you use a webbrowser on the same (or another) machine to access your application.

In CentOS, give the command $/sbin/ifconfig, to see your IP address. Open a browser and type your IP address followed by :3006 (or probably 3000 unless you’ve specified otherwise).

hi all,

I successfully deployed the ROR project on Centos server,i have one
question how can i access that application from my machine ?
on starting WEBRick server it is started on this ip http://0.0.0.0:3006,
i want to set my machine ip in place of 'http://0.0.0.0:3006' and also
how i can access it from my machine ?

There is no need to change the way you start it on the server. From
the second machine just use http://ip_of_server:3006 where
ip_of_server is the ip address of the server. That assumes that your
server has not got a firewall preventing http access of course.

Colin

thanks all for responses,problem is solved.