Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

To determine if a port such as 80 or 5432 has been opened on a server, do the following on the machine trying to connect to the server.

Instructions

1. Download the PortQry utility (to download, for information)

2. Install the PortQry utility.   Note, the example below assumes it will be installed to C:\PortQryV2 but it does not have to be.

3. Open a command line prompt (i.e. Windows > Run > cmd)

4. Type the following command replacing <server-name or ip> with the server name or the ip address and <port> with the port number. 

Note, if portqry was not installed in the C:\PortQryV2 directory, then change that to the installation location.

c:\PortQryV2\portqry -n <server-name or ip> -p both -e <port>

If the port is open, it should be listed with status of LISTENING.  For example:

TCP port 80 (http service): LISTENING

The possible status values (after the colon) are:

  • Listening = the server is listening on the specified port (i.e. it is open)
  • Filtered = likely indicates a firewall or software issue blocking the port
  • Not Listening = it didn't receive a response at all





  • No labels