Recommended solutions based on your search
ECONNREFUSED means that the connection was attempted and the remote host answered back that nobody's listening on that port. Check if the Java server listens on all interfaces. Or check your bind address on the server.
ECONNREFUSED means that the connection was attempted and the remote host port is not listening. Hence this can be caused by:
Is it a valid IP? check using ifconfig or ipconfig. You can try pinging the server.
Solutions on the web
android.system.ErrnoException: connect failed: EHOSTUNREACH (No route to host)
at libcore.io.Posix.connect(Native Method)