Show ip connections Command

The show ip connections command allows you to display information about active server Transport Control Protocol (TCP) and/or User Datagram Protocol (UDP) connections. For example, this command can show the sockets tied to an HTTPS connection. The following is an example of the show ip connections command output.

ACMEPACKET# show ip connections
Active Internet connections (including servers)
PCB      Proto Recv-Q Send-Q  Local Address         Foreign Address       (state)
-------- ----- ------ ------  --------------------- --------------------- -------
75059a0  TCP        0      0  172.30.80.231.1538    172.30.0.39.58497     TIME_WAIT
7506420  TCP        0      0  172.30.80.231.443     10.1.20.14.51006      TIME_WAIT
75044a0  TCP        0      0  172.30.80.231.443     10.1.20.14.51000      TIME_WAIT
7504f20  TCP        0      0  172.30.80.231.443     10.1.20.14.50997      TIME_WAIT
7503f60  TCP        0      0  127.0.0.1.3000        127.0.0.1.1064        ESTABLISHED
7503a20  TCP        0      0  127.0.0.1.3000        127.0.0.1.1063        ESTABLISHED
75034e0  TCP        0      0  127.0.0.1.3000        127.0.0.1.1062        ESTABLISHED
7502fa0  TCP        0      0  127.0.0.1.3000        127.0.0.1.1061        ESTABLISHED
7502a60  TCP        0      0  127.0.0.1.3000        127.0.0.1.1060        ESTABLISHED
7502520  TCP        0      0  127.0.0.1.1063        127.0.0.1.3000        ESTABLISHED
7501fe0  TCP        0      0  127.0.0.1.1062        127.0.0.1.3000        ESTABLISHED
7501aa0  TCP        0      0  127.0.0.1.1061        127.0.0.1.3000        ESTABLISHED

The following table describes each column in the above output.

Column Heading Description
PCB Printed circuit board in the server that is active on the connection.
Proto Protocol used on this connection. Valid values are:

TCP - Transport Control Protocol

UDP - User Datagram Protocol

Recv-Q Receiving queue - pertains to the queue on the server that receives packets from the Internet. This column should always display a zero (0). Packets should not be piling up in this queue.
Send-Q Sending queue - pertains to the queue on the server that sends out packets to the Internet. This column should always display a zero (0). Packets should not be piling up in this queue.
Local Address Local server’s IP address and port number, or IP address and the name of a service.
Foreign Address Hostname and service, or IP address and port number to which you are connected. The asterisk is a placeholder for IP addresses, which of course cannot be known until a remote host connects.
(state) Current state of the TCP or UDP connection. TCP states can be:

LISTEN waiting to receive a connection

ESTABLISHED a connection is active

TIME_WAIT a recently terminated connection; this should last only a minute or two, then change back to LISTEN. The socket pair cannot be re-used as long the TIME_WAIT state persists.

UDP is stateless, so the "State" column is always blank.