net-test tcp

Purpose

Test ability to open a TCP connection to port at a specified host name or IP address.

If successfully opened, no data is sent across the TCP connection, it is closed.

Syntax

net-test tcp host port

Parameters

host
Host name or IP address of the remote system
port
TCP port at the remote system

Related Commands

For other diagnostic commands, see net-test available, net-test dns, and net-test ping.

Example

Test ability to reach port 80 at host system1.rtp.raleigh.ibm.com.
Console> net-test tcp system1.rtp.raleigh.ibm.com 80
Ok