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 think I may have a permission problem somewhere but I can't even
open the socket as root. Any Ideas?
Does this sound like a host.allow or host.deny problem?
At the moment, I have written a simple client / server app to simply
get started in java networking. The problem is with anything that opens
a port. I have compiled sample code from a few books and get the same
error each time.
I'm using jdk 1.1.6 on Redhat 5.1 with the updated lib.
I have placed the full source on my Webpage at...
http://ouray.cudenver.edu/~gavalent/java/problem1.html
--
Glenn Valenta Engineering @ http://www.coloradostudios.com
[EMAIL PROTECTED] http://ouray.cudenver.edu/~gavalent/
[EMAIL PROTECTED] Personal mail
[EMAIL PROTECTED] Work mail