› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Legal Port Range
I am currently running 5.3 on AIX5.2
We’ve had one vendor who needed to use a port in th 55000 range, which posed no problem.
We are on CIS 5.4, AIX 5.3
The other range that you’ll definitely want to avoid is the ephemeral range. You can find this by running the following command:
no -a | grep tcp_ephemeral
The default on AIX is 32768-65535.
The port numbers in this range are in a ‘pool’ that is available to the OS.
Let me know if you have any questions.
Hope this helps.
Steve
if i run a netstat, nothing seems to be higher that 60,000ish. does cloverleaf reassign the 88901 to a new number?
65535 is the highest port number available. I suspect the kernal is reassigning the number by subtracting 65535 but I’m not 100% on that.
Regards
Garry
Is a good starting point for those to avoid.
Regards,
Jason
I had the same problem and I determined that QDX was converting the number to hex and only using the first 4 digits at least on HP-UX. I would not be supprised if you found 23365 as the port that was actually assigned. As far as valid port numbers to use look at this link:
It depend on your OS but you should not use ports below 1024 or within the Ephemeral Port Range for your system.
Hope this helps
John Mercogliano
Sentara Healthcare
Hampton Roads, VA
(For Cloverleaf integrator 5.3 and above):
Another caveat about port numbers within the ephemeral range for Cloverleaf: the multi-connect protocol uses the values defined at the OS level (at least in AIX unix) in the ephemeral range to assign suballocations to the main port for each client connection made for a Cloverleaf multi-connect server. As a rule we don’t hard assign any ports in that range for our other TCP connections. And the point was made about staying away from the hostserver ports in the 13000 – 13500 range too.
Enjoy.
Good point This would be true on all OS’s which brings up another protential problem on windows systems using multi port. With Microsofts low Ephemeral Range of 1024 through 4999 depending on the number of potiential connections you can get and other applications that might also use them you have the potential to run out of Ephemeral ports.
John Mercogliano
Sentara Healthcare
Hampton Roads, VA
Ok, So in following this thread I have the following suggestions for what not to use:
0 – 9999
13000 – 13500 Cloverleaf
32768 – 65535 AIX Ephemeral
Does this imply then that the numbers that are safe to use are:
10000 – 12999 and 13501 – 32767
Or is there something else I need to watch out for?
Craig Weldy
Senior Interface Analyst
Beacon Health System
South Bend, In, 46615
ABCCD
A = which CL host (1 or 2, (we have 2 boxes))
B = which environment (1-5, (preprod test, preprod qa, prod, postprod training, postprod test))
CC = which source system (01-99, (lab, rad, cis, respther, etc.))
D = which type of data (0-9, (adt, sched, results, etc))
After Cloverleaf started using 13xxx, we decided that we would only use 2xxxx and keep the CL host number the same for both boxes. This is helpful for failover when moving SAN disks from one box to the other.
x3xxx is prod and will only be running on one box.