TCP Port Tests

Core Assurance is currently in beta. Features may change, documentation may be out of date, and performance may be inconsistent. Use at your own discretion.

A TCP Port test opens a TCP connection to a host and port and checks how the host responds.

You set the following fields on the Definition and Pass Criteria tabs of a test profile. For how the tabs work, see Definition tab and Pass Criteria tab.

Definition fields

  • Target Host (required): A host name, IPv4 address, or IPv6 address, for example example.com or 192.168.1.1.

  • Target TCP Port: The port to connect to. The default is 443, the standard port for secure web traffic.

  • Timeout (ms): How long the endpoint waits for the connection before the run fails. The default is 5000 milliseconds.

Pass criteria

  • Expected Status: The connection result a passing run must get:

    • Connection Accepted: The host accepts the connection. Use the default option, Connection Accepted, to confirm that a service is available.

    • Connection Refused: The host actively refuses the connection. Use Connection Refused to confirm that a service is turned off on purpose.

    • No Response: The connection attempt gets no reply. Use No Response to confirm that a firewall blocks the port.

  • Max Response Time (ms): The longest time a passing run can take to connect.

For the failure codes a TCP Port test can return, see TCP Port failure codes.