How to Check and Identify Which Application is Listening or Opening Port 80 and 443 on Windows

After installing Apache HTTPD web server or Microsoft IIS Internet Information Services web server, or any other application software or service and daemon that requires to open and listen to port 80 (HTTP) or port 443 (HTTPS SSL), it’ll be a surprise if some other application or processes have stolen, used and occupied port 80 and/or 443. No web server has been running on the Windows system before, so what’s the process that uses port 80 or 443 on the system?

For example, after installing Apache web server using XAMPP, the following error message may appear:

(OS 10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

Here’s a few built-in commands and how to guide that can help users to find out and identify which application or process that is already using, opening and listening on port 80 or 443 on the Winodws operating system such as Windows Vista, Windows XP, Windows 7, Windows Server 2003 and 2008.

  1. Open Command Prompt window by typing Cmd in Run command box or Start Search, and hit Enter.
  2. Type in the following netstat command:

    netstat -o -n -a | findstr 0.0:80

    or

    netstat -o -n -a | findstr 0.0:443

    or simply,

    netstat -aon

    Note: The last command will list all connection that is listening, established, starting, closing and all other states, so the list is long, and user has to manually search for rows that has connection originating or targeting to 1270.0.1:80/443 or 0.0.0.0.80/443.

  3. The following line(s) of results should be returned:

    TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 8704

    The last column of each row is the process identified (process ID or PID).

  4. Identify which process or application is using the port by matching the PID against PID number in Task Manager.

Another alternative to determine and identify which application is using port 80 or 443 is by using Telnet application. Just type the following command to Telnet to the system in port 80 or 443:

telnet localhost 80

or,

telnet localhost 443

If the Telnet connection can be opened, normally the banner of the application which opens the port will be shown, and help user to identify which process that actually listening on the port.

Tip: The command above can be used to identify and check what processes is using any other ports too, such as 7 (Echo), 21 (FTP), 23 (Telnet), 25 (SMTP), 53 (DNS), 70 (Gopher), 79 (Finger), 107 (RTelnet), 110 (POP3), 119 (NNTP), 139 (NetBIOS), 143 (IMAP), 194 (IRC), 3128, 8080, 10000, and etc.


4 Responses to “How to Check and Identify Which Application is Listening or Opening Port 80 and 443 on Windows”

  1. Shawn
    November 8th, 2009 17:45
    4

    THANK YOU! I HAVE BEEN FIGURING OUT HOW TO STOP PORT 80 FOR WEEKS!!

    Now I can continue doing my project. :) The PID method works just fine.

    Thanks again!

  2. Hernán Borré
    March 1st, 2009 05:58
    3

    Interesting Blog! Congratulations

  3. hallo
    December 3rd, 2008 12:54
    2

    it would nice if skypy do his by asking during installation whether client wants this change or keep the setting by properly indicating this issue!

  4. Disable Skype from Using, Opening and Listening on Port 80 and 443 on Local Computer » My Digital Life
    December 3rd, 2008 03:27
    1

    [...] Service) is currently installed or running on the system. If you investigates to the root by identifying which application is using the port 80, the cause of the problem is due to Skype. Skype allows users to use port 80 and 443 as an [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

check port 80 - how to check ports in use - check ports in use - how to check which application is using which port - windows check port - windows port check - windows check ports - how to check port 80 - check port windows - cmd port check - how to check what is running on port 80 - check listening ports - checking port 80 for availability - PORT CHECK WINDOWS - check port cmd - HOW to identify ports in use - check port usage - command prompt port check - how to check port 80 is open - port 80 listening - identify process using port - check which ports are in use - find windows workstation port - how to check which ports are in use - how to check which application is using port 80 - listen port 80 - Port 80 Availability Check - check application using port - how to check free ports in windows - checking ports in use - open port checker - check what is using port 80 - check port 80 availability - how to check port 443 - check used ports windows - check ports listening - what is listening on port 80 - windows listen port - how to check if port is listening - identify ports in use - windows port checker - cmd listening ports - how to check if port 80 is open - how to check the ports in use - what application is using a port - check port usage windows - windows port listening - cmd check ports - listening ports windows - check what is running on port windows -