Thanks to all who helped. As much as I thought I had both client and
server on the same port, I didn't. My code said I did, but what I
compiled and posted on the webpage didn't. Using telnet and netstat
gave me my first clue. Thanks all!
Michael Sinz wrote:
>
> On Mon, 05 Oct 1998 06:21:19
On Mon, 05 Oct 1998 06:21:19 +, Glenn Valenta wrote:
>I'm new to Java and also not too experienced in Linux so forgive me
>if this is a simple question, but I couldn't find it in the FAQs.
>
>When I try to open a network socket, I get...
>
> java.net.ConnectException: Connection refused
>
I'm new to Java and also not too experienced in Linux so forgive me
if this is a simple question, but I couldn't find it in the FAQs.
When I try to open a network socket, I get...
java.net.ConnectException: Connection refused
at this line...
socket = new Socket("localhost", 8205);
I