Serversocket for external IP
I'm trying to create a client/server pairing that allows me to send basic remote commands to my computers from my Droid. I managed to get everything working locally, the protocol works great and the phone chugs like a champ on its own, however i've come onto a seemingly undocumented problem.
My server (the computer being told what to do) will not accept internet connections through a ServerSocket. When my clients attempt to connect to its external IP (acquired through ipchicken or whatismyip), the server simply ignores it. It never sees the connection.
LAN connections and localhost connections work like a charm.
I've gone through and checked every possible adapter, i've only got two (localhost and LAN). I tried binding to 0.0.0.0 (which is what i thought would work best), that didn't work, so i bound to my lan ip (which acts precisely the same).
My home network is dead simple, just a modem with router and two computers plugged to that. It's nothing crazy, it's totally standard stuff.
I'm stumped. Is there something i need to do on a regular windows XP (or vista) machine to allow internet-accepting sockets to come through? Is there some constructor i need to use in java to make this work?