*
The moose likes Applets and the fly likes Failed to connect to the server in Applet, even.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Failed to connect to the server in Applet, even.." Watch "Failed to connect to the server in Applet, even.." New topic
Author

Failed to connect to the server in Applet, even..

Chris Ben
Ranch Hand

Joined: Jan 15, 2001
Posts: 135
Hi all,
I try to write an on-line game program, in which an applet is loaded in a browser. The applet will try to connect to a server program in the start() method.
The server program is started in advance, it is in the same directory as the applet in the webserver.
Though I have heard that an applet can connect to a socket to where it is from. My programs failed due to the security problem in the browser. I have tested my programs in the local machine, wheil server program and applet are togeter, and I have tried to write a stand alone client program to connect to the server program at the webserver, everything is fine.
Can anyone tell me the problems?
Thanks a lot
Chris
 
 
subject: Failed to connect to the server in Applet, even..
 
Similar Threads
class not found exception in applet servlet communication
to copy a policy file from server machine to client machine in java
How to retrive data in Applet from a webserver !
Applet interacts with server.
Connect to Oracle database