Click to See Complete Forum and Search --> : Connection Refused Exception.


rahul verma
January 21st, 2003, 02:22 PM
Hi! I have made a java server as an NT Service. This server and my client works fine when I run them from command prompt. But when I make the server as an NT service and then try to connect to it using this client, I get an exception saying connection refused. Can anyone help me with this, its urgent.

thanks in advance.
rahul.
P.S. replies would be suitably rated and given points. :-)

dlorde
January 21st, 2003, 06:25 PM
> P.S. replies would be suitably rated and given points. :-)

Whoo-hoo! can we get cash for those points?

saddysans
January 22nd, 2003, 01:07 AM
Appears more a NT problem than java,
Is your java server is running when ur making connection(or u might just having impression it is running), also check for privelages for running such services.
have yoy checked log for errors. that is why connection is refused(not enough rights, service not running etc)
Try consulting NT forum as well
http://www.codeguru.com/forum/forumdisplay.php?s=&forumid=31

saddysan