- Author: Mike Viteri
- Published: 3/7/2022
- Applies to: Windows Server
In the past PortQry was used to check for open ports.
Now using Windows Powershell you can check ports with the build in software instead of third party software.
To test a Port open Windows Powershell by clicking on the start menu and typing "Power"
The PowerShell will open
Type the following command to see if the Remote Desktop port is open on your local computer
Test-NetConnection -Port 3389 -Computer localhost
If you check "TcpTestSucceeded" it says false. It failed as Remote Desktop is not turned on
If the port is changed to 80 "TcpTestSucceeded" is True as port 80 is open
If you want to test a remote PC change localhost to the remote IP Address to test