Using Netstat from a character-based interface: Connections

You need to verify the status of your IPv4 and IPv6 connections.

For both IPv4 and IPv6 connections, you should verify the following information:
  • You should have at least one passive listening connection for each of the servers you need to use. A passive listening connection indicates that the connection is ready for work. Passive listening connections are indicated by an asterisk in the Remote Address and Remote Port columns. See the server table for a list of all the servers and their associated jobs and subsystems.
  • The passive listening connections should not be ended. If they have been ended, then remote systems are unable to use the servers represented by the connections.
  • You can verify the status for jobs associated with a connection. This allows you to work with a job that might be impacting the connection.

IPv4 connection status

To display information about the status of your IPv4 connections, follow these steps:

  1. Type NETSTAT or WRKTCPSTS on the command line to display the Work with Network Status menu, and then select option 3 on this menu.
  2. If you need to end and restart the passive listening connection, you should do it by ending and restarting the server. At the command line, type ENDTCPSVR *myserver (where myserver is the server you want to end) and STRTCPSVR *myserver. If you are ending and restarting a host server, type ENDHOSTSVR *myserver (where myserver is the server you want to end) and STRHOSTSVR *myserver. See the server table to find out how to start and end various servers.

IPv6 connection status

To display information about the status of your IPv6 connections, follow these steps:

  1. Type NETSTAT or WRKTCPSTS on the command line to display the Work with Network Status menu, and then select option 6 on this menu.
  2. If you need to end and restart the passive listening connection, you should do it by ending and restarting the server. At the command line, type ENDTCPSVR *myserver (where myserver is the server you want to end) and STRTCPSVR *myserver. See the server table to find out how to start and end various servers.