Hey guys - I have an app that is exported as a jar and is signed appropriately. It loads fine in my browser and operates as normal.

At one point the app executes not compilable by general gist is there:

Socket sock = new Socket(InetAddress.getAddressByName("novo.game-host.org"),43594);

and when this executes the following error occurs:

java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine


Can anybody please clarify what the problem is - the code doesnt even appear to try to connect.