D
Duncan Elliot
Hi there,
I am trying to implement the client / server example in this tutorial:
http://en.wikibooks.org/wiki/Java_Programming/Client_Server
It works when the server is not hosted on the same machine as the client. When both are on the same machine I get an error:
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
I suspect there is an additional step I need to take if I wanted to test it locally, any idea??
Thanks,
Duncnan
I am trying to implement the client / server example in this tutorial:
http://en.wikibooks.org/wiki/Java_Programming/Client_Server
It works when the server is not hosted on the same machine as the client. When both are on the same machine I get an error:
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
I suspect there is an additional step I need to take if I wanted to test it locally, any idea??
Thanks,
Duncnan