How to tell what HTTP ports I can use?

I know I can do a netstat -an and see all the listening and established ports.  How do I know though what port I can use for a new web application setup is available for me to use?
Who is Participating?
torvirConnect With a Mentor Commented:
You can use all tcp ports that are not marked as listening.
Well-known ports: 0–1023  
Registered ports: 1024–49151
Dynamic, private or ephemeral ports: 49152–65535

But there are many ports not commonly registered in 1024-49151 range.
So you can select a non conflicting port. For ports assigned refer:
sbornstein2Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.