Gateway time out connecting to tethered server from Android

Posted by BentFX on Server Fault See other posts from Server Fault or by BentFX
Published on 2012-09-04T03:25:29Z Indexed on 2012/09/04 3:39 UTC
Read the original article Hit count: 556

Filed under:
|
|
|
|

I've got an Android device running android-wifi-tether. It works as advertised. I connect to it from my Ubuntu 12.04 laptop running Apache 2.2.22. The laptop is manually configured to IP 192.168.2.100 in the hosts file. It can ping itself and access it's own web server through that address.

The WiFi tether hotspot gives the laptop the same 192.168.2.100 address(Laptop was configured to match the hotspot address as a troubleshooting step, and could be wrong.) Using ping I can ping the laptop from the phone using the 192.168.2.100 address. Using portscan the phone shows port 80 open on the 192.168.2.100 address.

So, everything looks like it's in place, but any attempt to browse to http://192.168.2.100 fails after a few moments with a 504(Gateway time out)

Any help would certainly be help.

© Server Fault or respective owner

Related posts about httpd

Related posts about wifi