A computer that is conected to a LAN or Internet usually offers some services. If we talk about a normal network that uses TCP/IP protocol, each of the services is going to use a port. For a PC to use a service, it needs to specify the number of the port.
The first step to know if a remote machine is running a service is testing connectivity. There a lot of programs you can use for this but today I am going to use PortQryUI tool. This utility can be downloaded from Microsoft:
PortQryUI Tool. Microsoft Download Center.
I have selected the application because is very simple to use. If you want to use something more professional try NMAP; you can use Google to find it.
Once you download the utility it will present a license agreement, just click Yes:
![PortQueryUI License Agreement PortQueryUI License Agreement Check Running Services on a Remote Computer [How To]](http://mintywhite.com/wp-content/uploads/2010/09/PortQueryUI-License-Agreement.png)
Select the folder you want the program to be extracted:
![PortQueryUI Unzip To Folder PortQueryUI Unzip To Folder Check Running Services on a Remote Computer [How To]](http://mintywhite.com/wp-content/uploads/2010/09/PortQueryUI-Unzip-To-Folder.png)
Press Unzip. Once you do that you are going to get a folder with the program:
![PortQueryUI Folder PortQueryUI Folder Check Running Services on a Remote Computer [How To]](http://mintywhite.com/wp-content/uploads/2010/09/PortQueryUI-Folder.png)
Now you can execute the program. This application will query a port and create a report. A port can have 3 different status:
- Listening. The tool has received an answer from the port.
- Not Listening. The utility receives a ICMP packet, which is no more than an error message indicating that there is no process to create an answer.
- Filtered. No response, so PortQryUI really doesn’t know if the machine is using that port.
Now that we have more information about the command, we are going to test if a remote computer is running some common services. For all the tests we are going to use a remote machine called server (admittedly, a pretty uncreative name.)
DNS
Windows has the command NSLOOKUP to test if a DNS is working but we are going to do this in other way. DNS servers use TCP port 53 and UDP port 53 so we only need to test this using the tool.
![PortQueryUI TCP UPD 53 PortQueryUI TCP UPD 53 Check Running Services on a Remote Computer [How To]](http://mintywhite.com/wp-content/uploads/2010/09/PortQueryUI-TCP-UPD-53.png)
See how we have select BOTH protocols, instead TCP or UDP alone.
Web
A normal http server resides on TCP port 80.
![PortQueryUI TCP 80 PortQueryUI TCP 80 Check Running Services on a Remote Computer [How To]](http://mintywhite.com/wp-content/uploads/2010/09/PortQueryUI-TCP-80.png)
HTTPS is a version of HTTP with security features. This service uses the port 443. Do you want to know if www.google.com has this port enabled?
![PortQueryUI Google 443 PortQueryUI Google 443 Check Running Services on a Remote Computer [How To]](http://mintywhite.com/wp-content/uploads/2010/09/PortQueryUI-Google-443.png)
FTP
FTP uses the port 21. In this case the utility give us more information.
![PortQueryUI FTP 21 PortQueryUI FTP 21 Check Running Services on a Remote Computer [How To]](http://mintywhite.com/wp-content/uploads/2010/09/PortQueryUI-FTP-21.png)
We can use this utility as our first test. It just checks if a response is received. I think that is a very easy way to start looking for problems. What do you think? Do you use any other network tool?
About Angel Luis
I am an Engineer of Telecommunications that love computers. My first computer was a Commodore 16kb, about 25 years ago and since then I am always fighting computers problems. Please visit my entries and ask me about whatever problem you have, I will be pleased to help you. My email is discoveryourpc [at] gmail [dot] com. You can follow me on twitter @agenlu or read my blog www.discoveryourpc.net
Search Windows Guides