Developer here prototyping a mobile app, somewhat new to mobile:
- I have a simple HTTP service running (currently) on my main laptop with machine name
latitude. - Another laptop named
vaiosharing the same WiFi network can access that service viahttp://latitude:8080-- in other words, it can easily resolve the (current) IP 192.168.x.y (or whatever dynamic IP it has at that moment) oflatitudesomehow. - Now my HTC Android phones, connected to the same WiFi network, can reach the IP address of
latitudeso opening in its browserhttp://192.168.x.y:8080works. - But I'd like to use the machine name here, too, like when I access the HTTP service from
vaio, simply by typinghttp://latitude:8080and have the phone resolve the current dynamic IP oflatitude. This doesn't work, only get the standard browser error page: "Webpage not available".
Is there some DNS setting in Android I need to tweak? Haven't found anything from playing around with Settings, and a question like this is notoriously hard to google, too...
The One V has Android 4.0, and the One M7 has Android 4.2 in case that makes a difference.
(Note, this should work even when the Android is not USB-connected to my computers and is not acting as a WiFi Hotspot -- obviously, since it's consuming my main WiFi network anyway).