![]() More complicated workarounds would be to a) configure Apache on the Mac as a proxy server, and configure the iPad browser to use that as its proxy b) set up a DNS server on your local network c) use instead the iPad simulator on the Mac, while modifying the /etc/hosts file or d) jailbreak the iPad and modify /etc/hosts. But you have to change this every time you want to test a different webapp. Maybe you've edited the /etc/hosts file, or you have a GUI that does that? However, you can't modify the iPad hosts file without jailbreaking.Ī simple workaround is to change the default website in Nginx to the webapp you want to test from the iPad - then you could use the machinename.local address from the iPad. ![]() 8135 squid 501 squidward 206 squidy 157 squiddy 117 squids 115 squidman 107. Your device’s private IP address will appear next to IPv4 Address. Open the Apple menu and select System Preferences. 8135 squid 501 squidward 206 squidy 157 squiddy 117 squids 115 squidman 107. This IP Address was updated directly by the server owner on the 09 of Aug at. Finding Your Private IP Address on macOS. You've already gotten around this problem somehow when testing from the Mac. Enter the server address or ip and get the server status, number of players. localhost which isn't being resolved by DNS, so the iPad doesn't know where myapp2.localhost is, and the request never reaches Nginx on the Mac. Your web apps are all at the top-level so Nginx is expecting different hostnames in the request. In both scenarios, using the IP or machinename.local address of the Mac will only give you the default website on that Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |