How to tell what HTTP ports I can use?

Posted on 2011-04-25
Last Modified: 2012-05-11
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?
Question by:sbornstein2
    LVL 5

    Accepted Solution

    You can use all tcp ports that are not marked as listening.
    LVL 2

    Expert Comment

    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:

    Author Closing Comment


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
    Whether you believe the “gig economy,” as it has been dubbed, is the next big economic paradigm shift ( or an overstated trend (…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now