Archived

This forum has been archived. Please start a new discussion on GitHub.

ICE-1.5.1 demoj ("hello") exception

I download ice-1.5.1 and compile the java demos, nothing wrong.

Then I run Server and Client in seperate dos commnand window, they are ok.

I try to send a "hello" to Server from Client, but the Client thows a exception "Connection refused..."

Had anybody met such problems? I guess sth wrong with the Java Runtime, maybe its property.

thanks

Comments

  • Re: ICE-1.5.1 demoj ("hello") exception
    Originally posted by wuzuoshun
    I download ice-1.5.1 and compile the java demos, nothing wrong.

    Then I run Server and Client in seperate dos commnand window, they are ok.

    I try to send a "hello" to Server from Client, but the Client thows a exception "Connection refused..."

    Had anybody met such problems? I guess sth wrong with the Java Runtime, maybe its property.

    thanks

    Connection refused means that nothing is listening on the port that the client is trying to connect to. Run client and server with --Ice.Trace.Network=3. This will allow you to see the IP addresses they each use.

    Cheers,

    Michi.