Home Help Center

how to configure icegrid sample application for multiple servers

ekrausmanekrausman Member Ernie KrausmanOrganization: Clark County ITProject: Document Image Search web portal

The config.grid sample configuration file (ice-demos\csharp\IceGrid\simple\config.grid) uses localhost or 127.0.0.1 for all addresses, so the client and server have to be on the same machine to talk to each other. Do all instances of localhost need to be replaced with the server address to make it reachable from another machine?

Best Answer

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Accepted Answer

    Hi Ernie,

    To better understand how the different IceGrid endpoints work you should read https://doc.zeroc.com/ice/3.7/ice-services/icegrid/securing-icegrid

    If all you want to do is deploy IceGrid\simple client in a separate machine, you need to change Ice.Default.Locator and IceGrid.Registry.Client.Endpoints in config.grid, the Hello endpoint in the deployment and in the client side just Ice.Default.Locator in config.client

Answers

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Accepted Answer

    Hi Ernie,

    To better understand how the different IceGrid endpoints work you should read https://doc.zeroc.com/ice/3.7/ice-services/icegrid/securing-icegrid

    If all you want to do is deploy IceGrid\simple client in a separate machine, you need to change Ice.Default.Locator and IceGrid.Registry.Client.Endpoints in config.grid, the Hello endpoint in the deployment and in the client side just Ice.Default.Locator in config.client

Sign In or Register to comment.