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?
sbornstein2Asked:
Who is Participating?
 
torvirConnect With a Mentor Commented:
You can use all tcp ports that are not marked as listening.
0
 
GkCommented:
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:

http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
0
 
sbornstein2Author Commented:
thanks
0
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.