More Admin Tools



TCP port check Windows PortCheck, Download bei heise

PortCheck 2.0 for Windows 7/8/10

PortCheck is a tiny command line tool for administrators and network admins. You can check if a remote device answers on a certain TCP port. Short overview:

  • Displays permanently whether devices answer on a particular TCP port
  • Showing answer time in milli seconds with colored output (red/green)
  • Checks multiple devices simultaneously on multiple ports
  • Complete portscans possible - on predifined or self defined ports
  • Acoustical signal (beep) for reachable or unreachable ports
  • Permanent logging with date and time possible
  • Returns ERRORLEVEL for use in own batch files
  • No installtion required - portable .exe file
  • Free of cost - also for commercial use

System requirements

PortCheck runs on Windows 7 / 8 / 10 (32 or 64 bit). It requires .NET Framework 3.5

Return value

PortCheck returns ERRORLEVEL 0 or 1 in dependence of the result. ERRORLEVEL is 1 if the port answers, and 0 if there is no answer. You can use this value in your own batch files.


How much does PortCheck cost?

PortCheck is free - also for commercial use.


You can download PortCheck here as a zip file. It contains a .exe and a .config file.

Product Version Language License key Action
PortCheck english not necessary Download

Digital signature

PortCheck.exe is shipped with a digital signature of Lugrain Software GmbH. Only with this signature you get the original PortCheck tool.


PortCheck on two different ports
PortCheck on known ports


PortCheck [-t] [-w:<pause in s>] [-st] [-nc] [-oo] [-nl] [-tc] <hostname(s)> <port(s)>
[<timeout in ms>] [<filename of logfile>] [<description>]

hostname(s)    One or more hostnames, separated by comma (no blanks)
port(s)        One or more TCP port numbers (separated by comma), a port
               range <startport>-<endport> or all wellknown ports 'knownports' or 'kp'
timeout        Can be 100-1000 (default: 1000ms)
filename       Logs everything to a specified file, including date and time
description    Your own description for the specified port

-t   Check the specified ports continuous
-w   Wait some time between checks (this is not the timeout)
-st  Show date and time in every line
-nc  No color: use default color instead of green and red
-oo  Only open: show only open ports
-nl  No lines: don't add separators
-tc  Toggle colors: swap green and red (port opened = alarm)
-bp  Beep: send acoustical signal in case of alarm (only with -t)


PortCheck www.bing.com 80
PortCheck -t www.bing.com 80
PortCheck oracle-server1 1521 500 c:\temp\logfile.txt oracle
PortCheck -t -bp MyFileserver 139
PortCheck -t -w:10 MyFileserver 139,445
PortCheck -t -tc -bp sql-server1,sql-server2 1433 300
PortCheck -oo MyServer 1-1024
PortCheck MyServer knownports

Returns ERRORLEVEL=0 when port is closed, ERRORLEVEL=1 when port is opened.

Utility: PortCheck
Content: TCP Port Check Windows
Type: Command line (cmd)