Hi Dear,

i got the same problem when i run my code below:

InetAddress serverAddr = InetAddress.getByName("127.0.0.1");
Socket socket =   new Socket(serverAddr , 8088 );

i changed the port but same result.
anybody help plz


On Sat, Apr 18, 2009 at 1:25 AM, Hunter Peress <hunt...@gmail.com> wrote:

>
> I'm getting:java.net.ConnectException: localhost/127.0.0.1:8000 -
>                 Connection refused
>
>
> and...i have
> <uses-permission  android:name="android.permission.INTERNET" />
> declared in my manifest.xml
>
> What am I missing?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to