I've started MAMP on my computer and I'd like to make a GET call from Android app. I'd like to access the computer by it's name(e.g. computer.local:8888) rather than the computer's ip.
On the computer if I open Chrome and type computer.local:8888
it works as expected. On the phone this fails, but typing it's local ip (192.168.1.141
) works.
So, is it possible to access a local http server by a name rather than ip ? If so, how ?
No comments:
Post a Comment