General discussion

Locked

java applet and vb server

By shl67 ·
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 conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

java applet and vb server

by benneaser In reply to java applet and vb server

I've made an applet using java.net.Socket to receive and send data.
B:
Your ConnectionException is nothing to do with the security. If there are any securiy issues, the error will be explicit. This is something to do with the connection error.
Only place you can look at for the security is java.policy file. You can try that.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums