Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've built an application using the Rails framework that was designed for two or three iPads to access through a local network. However, the building I will rent does not have an internet connection for me to use. Is it possible to share the local rails server through a router that the iPads can connect to.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, it is possible. You can access your application from iPad (or any other device) by specifying the IP address in the browser Eg: 192.168.x.x:3000/ (Assuming rails is running at localhost:3000 on your server machine) if all the devices are connected to the same network.

share|improve this answer
    
I connected my iPad and laptop to a router, without the router being connected to the internet, but the iPad can't load the page. I can see in the server logs that it starts making the request, but after about 20 minutes it quits. Is there a setting that I need to change for it to work? –  Baylor Rae' May 25 '12 at 15:36
    
Does the request from your laptop work fine? –  Kashyap May 25 '12 at 16:06
    
I switched the server to apache2 with phusion passenger and it's running great. –  Baylor Rae' May 25 '12 at 17:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.