Test-NetConnection command can be used to verify port status . (note:- power shell version 4 or newer version can support this command)
Test–NetConnection 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.
step 1:- open power shell
step 2:- Test-NetConnection <Remote Host IP address> -port <destination port>