Interesting articles
PortCheck is a free command line tool for Windows 11. It checks if a remote machine answers on a specific TCP port and has many other features:
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
PC-1680-WIN11 did not respond on TCP port 445
for a few seconds.
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 -bp
Mail-Server1 25
Checks if Mail-Server1 responds on port 25 (SMTP) and sends an
acoustic signal in the event of a failure.
PortCheck -t Server1,Server2
1521,443
Checks continuously if Server1 and Server2 respond on port 1521
(Oracle) and port 443
(HTTPS).
PortCheck -t -st
Terminal-Server1 3389
Checks continuously if Terminal-Server1 responds on port 3389 and
shows date and time (timestamp) in every line.
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.3,
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. Use the repository feature in larger environments with
many network administrators.
Often used TCP ports:
21 - FTP (File Transfer Protocol)
22 - SSH
23 - Telnet
25 - SMTP
80 - HTTP
139 - NetBios
443 - HTTPS
445 - SMB (Server Message Block)
3389 - RDP
5060 - SIP
8080 - HTTP alternative
8443 - HTTPS alternative