I have an application that I’m currently testing that listens for requests over the network on port 1025. I chose this port arbitrarily and it is easy to change, my concern is that my application will collide with other system processes listening on that port. My two primary question are as follows:
- Are there common system processes that use port 1025 that may conflict with my application?
- Assuming the answer to 1) is yes, what is another less commonly used port or range of ports my application can safely utilize?
Any port in the
49152 – 65535range cannot be registered by any company, and therefore you’re more likely to not run into any problems with port conflicts.A list of registered ports, etc. can be found at this wikipedia link here.
If you don’t like Wikipedia, check this link out, from the Internet Assigned Numbers Authority (IANA).