---
name: "Rex::Commands::SimpleCheck"
section: "3pm"
platform: "linux"
package: "rex"
version: "1.16.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Rex::Commands::SimpleCheck"
---

# Rex::Commands::SimpleCheck(3pm)

Simple tcp/alive checks

## NAME

Rex::Commands::SimpleCheck - Simple tcp/alive checks

## DESCRIPTION

With this module you can do simple tcp/alive checks.

Version \<= 1.0: All these functions will not be reported.

All these functions are not idempotent.

## SYNOPSIS

```
 if(is_port_open($remote_host, $port)) {
   print "Port $port is open\n";
 }
```

## EXPORTED FUNCTIONS

### is\_port\_open($ip, $port)

Check if something is listening on port `$port` of `$ip`.
