When I call createSocket() I get exception "connection refused." in socket.connect How can I resolve it? Thanks