Skip to content Skip to sidebar Skip to footer

Connection Refused : Ioexception In Android Tcp/ip

im a newbie in android. I would like to ask if anybody knows why i'm getting this 'connection refused' IOException when i try to establish a TCP/IP connection between two android d

Solution 1:

If it's the missing INTERNET permission, add this line to your Android.manifest file just above the <application> tag.

<uses-permission android:name="android.permission.INTERNET/>

Solution 2:

You don't have the INTERNET permission? That, or your Wifi isn't turned on or the other IP isn't accessible (like you're trying to connect to a LAN IP via WAN).

Solution 3:

For me restarting my WIFI worked....

Post a Comment for "Connection Refused : Ioexception In Android Tcp/ip"