• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Applet client VB server - connection exception  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 be deployed over the internet?
thanks in advance.
 
please buy my thing and then I'll have more money:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!