---
name: "Test::TCP::CheckPort"
section: "3pm"
platform: "linux"
package: "libtest-tcp-perl"
version: "2.22-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::TCP::CheckPort"
---

# Test::TCP::CheckPort(3pm)

check if a port is open from command line

## NAME

Test::TCP::CheckPort - check if a port is open from command line

## SYNOPSIS

```
  $^X -MTest::TCP::CheckPort -echeck_port 8080
```

## DESCRIPTION

This is a wrapper for Net::EmptyPort which checks if a given port is open, from the command line argument (`@ARGV`). Because it works with port numbers in the argument list, you don't need to quote it when running with the perl executable.

## SEE ALSO

Test::TCP Net::EmptyPort
