Hi,


I have written a client server chat type application. I run my server side on a different machine and connect to the server using its IP address in the call:


sock = new Socket(serverIpAddress, port);


When I run my client side from my IDE (Visual Age), I can connect to the server using this method. However if I use the appletviewer that comes with JDK1.2 to run my client side, it returns an error when I try to connect to the server's socket. I get a message:


java.security.AccessControlException: access denied (java.net.SocketPermission ...


Any ideas why this is and how to resolve the problem?


Thanks,

Mich