Can i config Glacier2 router multiple public ip ?

ren-weiren-wei Member wei renOrganization: Hainan AirlineProject: support external system connect ticketsalesystem
Hi
I have a question about glacier2,can i config multiple public IP (or DOMAIN NAME) to glacier?
What should I do?
Client end config:
Ice.Default.Router=
test/router:ssl -p 4063 -h 221.xxx.xxx.132:ssl -p 4063 -h 202.xxx.xxx.64
(or use www.xxx.net instead of the ip)
or glacier end config:
Glacier2.Client.Endpoints=
ssl -p 4063 -h 221.xxx.xxx.132:ssl -p 4063 -h 202.xxx.xxx.64

Comments

  • ren-weiren-wei Member wei renOrganization: Hainan AirlineProject: support external system connect ticketsalesystem
    the mutiple ip were binded to the same computer.
  • ren-weiren-wei Member wei renOrganization: Hainan AirlineProject: support external system connect ticketsalesystem
    We have a pcserver in intranet(10.1.1.120). for my company network rule, the network manager set a map on the company firewall that 10.1.1.120 map 202.*.*.1 and 221.*.*.1 two internet IP for accessing from internet.
    so as the introduce in ice documnet. we config glacier as fowllows:
    Glacier2.Client.Endpoints=tcp -h 202.*.*.1 -p 4063
    Glacier2.Server.Endpoints=tcp -h 10.1.1.120
    but when i start the glacier,a exception take place
    C:\Documents and Settings\Administrator>glacier2router --Ice.Config=D:\config.gl
    acier2pgstessl
    !! 11/12/10 10:34:48.656 glacier2router: error: service caught unhandled excepti
    on:
    Network.cpp:1104: Ice::SocketException:
    socket exception: WSAEADDRNOTAVAIL
    how can we get the purpose:a internet pc access my application(or glacier) by the internet ip,and a intranet pc access my application(or glacier) by the intranet ip
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Did you try just using the following?
    Glacier2.Client.Endpoints=ssl -p 4063 -h 10.1.1.120
    

    This should work if your company firewall is setup to redirect traffic on the public IPs to this address. I don't think you need to setup more than this for Glacier2. However, in general for servers which publish proxies, you typically also setup the PublishedEndpoints property, for example:
    MyServer.Endpoints=ssl -p 4063 -h 10.1.1.120
    MyServer.PublishedEndpoints=ssl -h 202.*.*.1 -p 4063 
    

    This isn't necessary for Glacier2 because it doesn't publish proxies. For more information on this, see 32.4.6 Endpoints.

    Cheers,
    Benoit.
  • ren-weiren-wei Member wei renOrganization: Hainan AirlineProject: support external system connect ticketsalesystem
    I see. Thank you very much.
Sign In or Register to comment.