I\'m currently working on a project and I would like to test it out on two laptops at home where one laptop connects to the localhost on the other. I am using XAMPP. How do
On Mac OS X:
In terminal, run ifconfig | grep 192.
to get the internal IP of your machine on it's current network. It may be something like 192.168.1.140
Start a server. For example, node server.js
may start a server on some port.
On your phone, visit 192.168.1.140:3000
or whatever port your server is running on.