Navigation

More admin tools

Interesting articles

 

 

   

TCP Port Check for Windows 11  |  21-Sep-2024

Port Check Tool - Command line TCP Port Check

PortCheck is a free command line tool for Windows 10 / Windows 11. It checks if a remote machine answers on a specific TCP port.

  • Displays permanently whether devices answer on a particular TCP port (TCP ping)

  • Shows response time of remote host in ms with colored output

  • Checks multiple devices simultaneously on predefined or self defined ports

  • Beep for reachable or unreachable ports

  • ERRORLEVEL for use in own batch files

  • Logging with date and time possible (TCP Ping with timestamp to file)

  • Developed for Windows 7 / 8 / 10 / 11 and Windows Server 2008 / 2012 / 2016 / 2019 / 2022

  • Portable tool - no installation required

  • Free - for private and business use

 

Easy syntax:

PortCheck [-t] [-i] <hostname(s)> <port(s)>

More complex syntax:

PortCheck [-t] [-i] [-w:<pause in s>] [-st] [-nc] [-oo] [-nl] [-tc]
          [-rcf:<batch file when closed>] [-rcc:<closed count>] [-rco] [-rch]
          [-rof:<batch file when open>] [-roc:<open count>] [-roo] [-roh]
          [-replaceopentext:<text when open>] [-replaceclosedtext:<text when closed>]
          <hostname(s)> <port(s)> [<timeout in ms>] [<name of logfile>] [<description>]


Some examples:

PortCheck www.msn.com 80
Checks once if www.msn.com answers on port 80 (HTTP).

PortCheck -t www.google.com 443

Checks continuously (as with the ping command) if www.google.com responds on port 443 (HTTPS).

PortCheck -t Server1,Server2 3389
Checks continuously if Server1 and Server2 respond on port 3389 (RDP).

PortCheck -t Server1,Server2 1521,3389
Checks continuously if Server1 and Server2 respond on port 1521 (Oracle) and port 3389 (RDP).


For more examples please visit the tcp port check windows website. The TCP port check is also integrated in our graphical ping tool PingTool 4.2, the TCP Port Check GUI:



PingTool is able to check TCP Ports GUI-based. Simply enter the desired TCP port number in the "TCP Port" column. The check interval is adjustable from 1 to 120 seconds. PingTool can also ping objects (ICMP) and wake up computers via Wake on LAN. A lan speed test software is integrated for meassuring the available bandwidth.

Content: tcp port check cmd, check connection to port, test tcp connection, check open port