port issues

Posted on 2012-08-24
Last Modified: 2012-09-26
I have a server that will not allow custom ports like 8080, 502 and 20 open.

My firewall has the ports open, but I don't see my server listening for the ports. Where do I set that? I already added the ports to the windows firewall.
Question by:jmahlmann
    LVL 82

    Assisted Solution

    by:Dave Baldwin
    To open a port, you have to have a program that 'listens' at that port.  Programs that do that usually 'open' the ports when they are installed.  Why or what do you need those ports for?
    LVL 7

    Assisted Solution

    To view the ports you are currently listening on go to start > run > cmd > type netstat -a  and press enter. As DaveBaldwin says you will need an application running on your server listening on those ports, opening ports on your firewall and windows firewall just means that any traffic destined for those ports can get through the firewall, it doesn't necessarily mean there is anything on the server listening on those ports.
    LVL 4

    Assisted Solution

    Sorry @DaveBaldwin, I am going to try to scratch from you some points.
    Port 20 is usually used by an ftp server application, so if you install an ftp server, the application will ask the server to route the traffic to itself.
    Port 8080: Is usually used on http server. So you can set your web server to book that port. Microsoft Web Server is IIS.
    Port 502: Don’t know what is used for…

    Author Comment

    Hey all. Just found out that though it says the ports are closed we can actually use them! Port 18082 is for an anti-virus that is connected to a sever at another location. I checked that and the systems at the location A with the ports that are said to be closed are communicating just fine with the AV main console at location B.

    Also it says 8080 is not working, but that too is working fine being able to get to OWA.

    Also, I have run that command before which is why I knew the server was not listening for those ports.
    LVL 82

    Expert Comment

    by:Dave Baldwin
    With the standard Windows Firewall, it will allow outgoing connections to any port while blocking incoming connections.  You only need to open incoming connections when you have a service listening on those ports.  You don't need to open it when you are connecting to that port and service on another computer.  More sophisticated firewalls can be set to block in both directions.
    LVL 4

    Accepted Solution

    Please close this question, if you dont need help with this anymore.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
    We recently had an issue where out of nowhere, end users started indicating that their logins to our terminal server were just showing a "blank screen." After checking the usual suspects -- profiles, shell=explorer.exe in the registry, userinit.exe,…
    This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

    779 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

    12 Experts available now in Live!

    Get 1:1 Help Now