|
-
March 17th, 1999, 06:29 PM
#1
socket connection
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|