Share local server through a router on a Mac

Posted on

Problem :

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.

Solution :

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.

Leave a Reply

Your email address will not be published. Required fields are marked *