Another question about random ports. Suppose we have the following configuration:
1.IceGrid
Code:
IceGrid.Registry.Client.Endpoints=tcp -p 10000
2.Glacier2
Code:
Glacier2.Client.Endpoints=tcp -p 20000
3.non-Ice applications
Code:
TcpListenPort=30000
4.Normal Ice applications
Code:
OA1.Endpoints=tcp -h 10.10.10.1
OA2.Endpoints=tcp -h 10.10.10.1
It means that OA1 and OA2 will select tcp port randomly. However, if we start OA1/OA2's server first, it will has the danger of using the specified ports: 10000/20000/30000.
So it would be better if such an Ice property can be added:
Code:
Ice.TcpPortExclude=10000,20000,20050-20099,30000