portcheck
Check if a TCP port is open on a host to verify server status, test firewall rules, or validate deployments. Supports hostnames, IPv4, and IPv6 addresses with configurable timeout.
Instructions
Check if a TCP port is open on a host. Tests connectivity by attempting a TCP connection with a configurable timeout. Returns OPEN/CLOSED status with response time or error details. Useful for verifying if a server is running, checking firewall rules, or validating deployments. Supports hostnames, IPv4, and IPv6 addresses.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address to check,required | |
| port | Yes | Port number to check (1-65535),required | |
| timeout_sec | No | Connection timeout in seconds. Default: 5, Max: 30 |