Connection Refused : IOException in android TCP/IP -
im newbie in android. ask if knows why i'm getting "connection refused" ioexception when try establish tcp/ip connection between 2 android device. tried ping both device , responding. please... in advance...
e/tcp_ip connect thread( 7466): java.net.connectexception: /192.168.4.100:8080 - connection refused e/tcp_ip connect thread( 7466): @ org.apache.harmony.luni.net.plainsocketimpl.connect(plainsocketimpl.java:254) e/tcp_ip connect thread( 7466): @ org.apache.harmony.luni.net.plainsocketimpl.connect(plainsocketimpl.java:219) e/tcp_ip connect thread( 7466): @ java.net.socket.startupsocket(socket.java:781) e/tcp_ip connect thread( 7466): @ java.net.socket.<init>(socket.java:316) e/tcp_ip connect thread( 7466): @ com.neugent.wifi.tcp_ip$connectthread.run(tcp_ip.java:291)
if it's missing internet permission, add line android.manifest file above <application> tag.
<uses-permission android:name="android.permission.internet/>
Comments
Post a Comment