portcheck
Test TCP port connectivity to verify if a server is running, check firewall rules, or validate deployments by attempting connections with configurable timeouts.
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 |