General discussion
October 8, 2002 at 05:10 PM
shl67

java applet and vb server

by shl67 . Updated 23 years, 10 months ago

I’ve made an applet using java.net.Socket to receive and send data. OutputStream().PrintWriter().println(String) is being used to write data on the socket opened at the port 8022. InputStream().InputStreamReader().BufferedReader().readLine() is being used to read data.

Now in Visual Basic server I’m using winsock control. protocal is tcp, remotehost is localhost, remoteport is 0, localport is 8022.

when I send data from applet it throws exception as follows
java.net.ConnectException: Connection refused: connect

can anybody help me out?
and what else security considerations I should look into if this is to deployed over the internet?

thanks in advance.

This discussion is locked

All Comments