Archived

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

Glaicer2 sessionmanger config

hi,
-! 02/17/11 15:52:04.395 glacier2router: warning: unable to contact session mana
ger `VictopSessionManager:tcp -h 192.168.1.84 -p 10001'
Network.cpp:1387: Ice::ConnectionRefusedException:
connection refused: 远程计算机拒绝网络连接。

#
# The proxy of the session manager.
#
Glacier2.SessionManager=VictopSessionManager:tcp -h 192.168.1.84 -p 10001

my code:
localAdapter.add(new SessionManagerI(), serverCommunicator().stringToIdentity("VictopSessionManager"));

why?

Comments

  • xdm
    xdm La Coruña, Spain
    Hi,

    You get this exception because the connection to "tcp -h 192.168.1.84 -p 10001" is refused.

    This could be caused by 2 reasons

    1) the server isn't listening on that ip/port.
    2) there is a firewall that prevent the connection to that ip/port.

    You can run your server with --Ice.Trace.Network=1 to check what ip/port the server listen.

    Best regards,
    Jose
  • KevinH
    edited May 2017

    Ups - wrong post. But helped me to solve my problem. Thanks.