Results 1 to 7 of 7

Thread: How to check which application listening/using which port

  1. #1
    Join Date
    Apr 2010
    Posts
    50

    How to check which application listening/using which port

    Subsequent to inaugurate Apache HTTPD web server or Microsoft IIS Internet Information Services web server, or several additional submission software or service and daemon with the intention of necessitate to open and pay attention to port 80 (HTTP) or port 443 (HTTPS SSL), it determine to be a surprise if a number of additional application or procedure have stolen, used and occupied port 80 and/or 443. No web server has been working with on the Windows system previous to, so what’s the procedure with the intention of uses port 80 or 443 on the system.

  2. #2
    Join Date
    Jul 2009
    Posts
    1,118

    Re: How to check which application listening/using which port

    For illustration, subsequent to installing Apache web server utilizing XAMPP, the subsequent error message might come into view: OS 10048) merely one procedure of every socket address (protocol/network address/port) is generally acceptable. Might not bind to address 0.0.0.0:80 no pay attention sockets obtainable, shutting down here’s a small number of built-in commands and how to direct with the intention of be able to assist users to locate out and recognize which application or procedure with the intention of is previously utilizing, opening and listening on port 80 or 443 on the Windows operating system such as Windows Vista, Windows XP, Windows 7, Windows Server 2003 and 2008.

  3. #3
    Join Date
    Jul 2009
    Posts
    1,179

    Re: How to check which application listening/using which port

    For this you have to open the Command Prompt window by writing Cmd command in Run comment box or Start Search, and hit Enter. Type in the subsequent netstat command: netstat -o -n -a | findstr 0.0:80 or netstat -o -n -a | findstr 0.0:443 or basically, netstat -aon make a note of the most recent command determine to list the entire correlation with the intention of is listening, established, starting, closing and the entire additional states, so the register is long, and user has to physically search for rows with the intention of has correlation originating or targeting to 1270.0.1:80/443 or 0.0.0.0.80/443. 3. The subsequent line(s) of results be supposed to be returned: TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 8704 The most recent column of every row is the procedure identified (procedure ID or PID). 4. Recognize which procedure or application is utilizing the port by matching the PID against PID number in Task Manager.

  4. #4
    Join Date
    Nov 2009
    Posts
    955

    Re: How to check which application listening/using which port

    An additional substitute to conclude and recognize which submission is utilizing port 80 or 443 is by means of Telnet submission. Immediately type the subsequent command to Telnet to the system in port 80 or 443: telnet localhost 80 or, telnet localhost 443 if the Telnet correlation be able to be opened, generally the banner of the submission which opens the port determine to be demonstrate, and assist user to recognize which procedure with the intention of essentially listening on the port.

  5. #5
    Join Date
    Apr 2010
    Posts
    69

    Re: How to check which application listening/using which port

    The db2start command provide a warning, SQL5043N, "hold up or maintain for one or additional communications protocols failed to start productively. On the other hand, core database manager functionality started productively." The following communication is logged in the db2diag.log file. The db2diag.log files demonstrate with the intention of the TCP/IP listener (db2tcpcm) failed to start for the reason with the intention of the required port, 50000 in this illustration, was previously being used by an additional application. The simple declaration is to utilize a different port for listener. If you must utilize the port 50000, you be supposed to terminate the application that's using it.

  6. #6
    Join Date
    Jun 2009
    Posts
    886

    Re: How to check which application listening/using which port

    The commands beneath create obvious how to conclude which submission or procedure is utilizing the port. Give pleasure to make a note of that SQL5043N be able to be returned for various reasons. This technote merely applies to the case where the port is used by an additional submission. The AIX Command netstat -Aan | grep <port number>. This demonstrate if the particular <port number> is being utilized. The hex numeral in the first column is the address of protocol control block (PCB). The rmsock <addr of PCB> tcpcb this demonstrates the procedure who is holding the socket. You have to create a note of that this command must be run as root.

  7. #7
    Join Date
    Mar 2010
    Posts
    732

    Re: How to check which application listening/using which port

    Dissimilar what its name implies, does not eliminate the socket, if the socket is being utilized by several procedure. As an alternative of eliminating the socket, it immediately reports the procedure holding the socket. In addition make a note of with the intention of the second argument of rmsock is the protocol. It's tcpcb in the illustration to indicate with the intention of the protocol is TCP. This illustrate if the specified <port number> is being used. The number in the most recent column is the procedure id (PID) of the procedure holding the socket. On one occasion PID is determined, one be able to refer to "Windows Task Manager" to determine which submission corresponds to the PID.

Similar Threads

  1. XP Port 3389 Not Listening
    By Harnoor in forum Networking & Security
    Replies: 6
    Last Post: 30-12-2010, 10:51 PM
  2. No process listening on port 445
    By Arif15 in forum Networking & Security
    Replies: 4
    Last Post: 09-09-2010, 01:50 PM
  3. When Listening port vs Proxy SOCKS port are used?
    By rooki in forum Windows Software
    Replies: 3
    Last Post: 24-06-2010, 04:05 PM
  4. Port Not Listening
    By Thomas R Grassi Jr in forum Windows Server Help
    Replies: 4
    Last Post: 13-12-2008, 03:47 PM
  5. DNS listening port?
    By mcRon in forum Windows Server Help
    Replies: 5
    Last Post: 07-11-2008, 04:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,022,374.91322 seconds with 17 queries