CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2000
    Location
    USA
    Posts
    47

    Connection Refused Exception.

    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. :-)

  2. #2
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163
    > P.S. replies would be suitably rated and given points. :-)

    Whoo-hoo! can we get cash for those points?
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

  3. #3
    Join Date
    Mar 2002
    Posts
    132
    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/forumd...?s=&forumid=31

    saddysan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured