Archived
how to configure icegrid sample application for multiple servers
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?
Comments
-
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 changeIce.Default.Locator
andIceGrid.Registry.Client.Endpoints
in config.grid, the Hello endpoint in the deployment and in the client side justIce.Default.Locator
in config.client0