You might want to try getting yourself an android build of a great
command line tool called netcat or nc to use for testing. I dont
know if its in the official builds but know its in cyanogen, and would
probably work if you copied the binary out of update.zip from a
comparable android generation to somewhere executable on your device.
It should also build easily from source.
One test you will want to do is using that under the adb shell to
contact your service from inside the phone.
You might also be able to use connectbot or similar app to contact
your server (think of it as telnetting to an unusual port)