Hello EveryBody,
Let me first explain my problem.
I have developed Chat Application Using ServerSocket and Socket.
I have an
Applet Chat Server which is called ChatServer which the server which serves the Applet client Applet.
Im have deployed both the ChatSErver applet and Chat Client applet emebedded in an HTML.
So that The Chat administrator can access it from any where .
Is this correct ? pls let me know. Im getting this exception in the ClientApplet
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at DhanishClient.startClient(DhanishClient.java:106)
at DhanishClient.initComponents(DhanishClient.java:77)
at DhanishClient.init(DhanishClient.java:23)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
DO i have to give policy permmision in tomcat.
IS THIS WAY FIRST OF ALL RIGHT FOR CHAT SYSTEM.
PSL LET ME KNOW