verify that destination port number is open or not, using powershell command.

Test-NetConnection command can be used to verify port status . (note:- power shell version 4 or newer version  can support this command)

TestNetConnection is a Power Shell cmdlet that checks and then displays diagnostic information about a network connection, whether to another computer on the same network or a web server on the internet.

Example:-

step 1:- open power shell

step 2:- Test-NetConnection <Remote Host IP address>  -port  <destination port>

 

Was this article helpful?

Related Articles

Leave A Comment?