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.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.