IPhone – the IP address of the iphone when the computer is connected to the internet using that iphone’s personal hotspot

iphoneNetworktethering

I have this program on my mac that streams my gps location over the private network.

When on the road, my program needs an internet connection as well as the gps data, so I need to pair to my iphone to get internet. After doing this, however, my program can't determine my iphone's IP address so I can't get the location data.

Does my iphone have an IP address when it's the "router" effectively, via personal hotspot??

Best Answer

The answer is 172.20.10.1

Found this out by checking out the gps2ip settings and saw there were some provisions for using a personal hotspot and it told me there. You have to tell gps2ip to pipe over the hotspot from within the app to make it work regardless.