Android Question Is there a way to get ip address of device connected to hotspot?

jimseng

Active Member
Licensed User
Longtime User
Hello. After searching I can only find posts relating to this from many years ago (unless I have missed something)
I have the "Network Analyzer" app which shows me the ip address and hostname of a Pi connected to my phone hotspot. All I am trying to do is launch chrome with a URL of the Pi's web server but since google in their infinite wisdom change the subnet of the hotspot regularly I wondered if I could programatically scan and find the IP address of my Pi. Then, presumably I can launch Chrome. For some reason the phone doesn't resolve the hostname of the Pi (even though Network Analyzer picks it up). Is there an up to date way to do this?
Thanks
 

jimseng

Active Member
Licensed User
Longtime User
Thanks Erel.
I am not getting the hostname returned from a reachable address. (My Pi's IP shows up. Network Analyzer app is returning hostnames. Any idea why or if it can be tweaked to achieve this?
 
Upvote 0
Top