Do you get an error?

You should check the hosts file.. make sure the applet allows connections.
If the applet is a server for example.. the applet could be limited and set to localhost...