Everything above this line is irrelevant:
java.net.ConnectException: Connection refused: connect
And this simply means that your applet is experiencing problems at the network level (not Java Security). The host to which it is connecting is refusing the connections, which usually means there is no service listening at that host:port
.