It doesn't seem to be able to access the .xip.io url from my iPhone when running the Rails application with Pow

I tried to access my Rails application running Pow (4.3) from my iPhone 5, but I have problems ...

If I type my_app.192.168.2.11.xip.io :

  • it works fine on my development machine (i.e. a machine with a LAN address of 192.168.2.11 )
  • he does not find the host on my iPhone

Of course, 2 machines are on the same local network, and I tried to access the router administration web server from my iPhone:

  • 192.168.2.1 works: I get access to my router admin web server just fine.
  • 192.168.2.1.xip.io does not work! "The owner was not found."

So my question is: is there anything special about setting .xip.io addresses that should be correctly resolved on the iPhone?

Thanks.

EDIT:

I work in a cafe with Internet access through my iPhone 4G network. Now .xip.io IP works on my phone. Then this should have something to do with my local network configuration. I have an ASUS router.

+6
source share
2 answers

Thanks to this post, I configured the ASUS RT-N56U router to use Google’s DNS addresses (i.e. 8.8.8.8 ), and it works fine now.

Edit: If you are connected via a Wi-Fi router, you need to enable port forwarding to forward a specific port (for example, 8080) to your laptop.

+4
source

I had the same problem with windows. Flushing dns from the command line worked.

 c:\>ipconfig /flushdns 

EDIT
It works on Chrome, Opera not on Opera and not on Edge.
In Opera, you can try adding "www". before the local IP address.

+3
source

Source: https://habr.com/ru/post/976160/


All Articles