Find out which ports are occupied

This page describes how to check if some port is occupied on MS Windows. YSoft SafeQ requires various ports to be available and occupying required ports by third party applications may lead to various issues (e.g. failure during installation)


It is possible to use windows build in application netstat to display all occupied ports.

Example:

  1. run the command-line as an administrator

  2. launch command:

    netstat -abno > ports.txt
    
  3. output from the command is written to ports.txt with content like this:

    Proto  Local Address          Foreign Address        State           PID  
    TCP    0.0.0.0:25             0.0.0.0:0              LISTENING       2412 [hMailServer.exe]
    
  4. output means the port 25 is occupied by application hMailServer.exe

The similar set of information is provided in a Task Manager -> tab Performance -> button "Open Resource Monitor" -> tab Network -> section Listening Ports

image.png?api=v2