If you’re running on AIX, run the following command:
no -a | grep ephemeral
This will return the settings for the tcp ephemeral range. I believe the default range is 32768 to 65535. These are the ports that are defined for OS processes. It’s definitely a good idea to stay away.
Hope this helps.
Steve