I am developing an Ionic application for iPad. The app is supposed to connect to Express running on Mac.
I have connected the iPad with this Mac using a usb cable. Now, in order to check that I can access node server from iPad, I am doing the following in Chrome on iPad
http://<mac ip>:<node server port>
How, this returns a page not found. The same url works when I run it directly on the Mac.
Given the Mac and iPad are connected by the usb, how can I access node server running on mac from iPad? I was hoping that something like
http://127.0.0.1:3000 would work, but that is not the case. Even giving the IP of Mac does not work.