I build a webserver on my android device by NanoHttpd or ServerSocket and connect to this server from itself. It run good when device is online. But I can't receive request when device isn't online. I was try connect to localhost
or 127.0.0.1
but nothing happen. Is there anyway to establish connection to localhost
when device is offline?
Thanks