Wednesday, August 1, 2012

[android-developers] creating a server app on the Android

I'm using ServerSocket() object to create a proxy server
on the phone itself.

But I can't seem to connect to it.

The phone is running 3g and has an ip address.

i'm using port 1962. Maybe that's the problem.

i'm trying to connect from my desktop

http://ipaddress:1962/test


help appreciated.

p.s. again this is on the phone itself.

on the emulator, if i use localhost (from the android browser),
it works.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment