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>

Ex:

c:\PortQryV2\portqry -n 192.168.1.100 -p both -e 5432

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:



Related articles

The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.



Related issues