Port reachability from the internet
check_portCheck from the internet whether TCP ports of a public host are open, closed or filtered. Use to verify firewall / security group rules, or to find out why a service works locally but is unreachable from outside. Only public addresses are accepted; this does not test the application behind the port (use check_http or check_tls for that).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"ports": "<ports>"
},
"name": "check_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Public hostname or IP address, e.g. example.com or 203.0.113.10 | |
| ports | Yes | Comma-separated TCP ports, e.g. 22,80,443 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false when the check could not run (see error / message) | |
| tool | No | ||
| error | No | Error code when ok is false | |
| facts | No | ||
| notice | No | Usage note, e.g. anonymous-tier limits | |
| target | No | What was checked | |
| message | No | ||
| verdict | No | ||
| findings | No | ||
| headline | No | One-line summary | |
| reportUrl | No | Shareable report link |