Finding Local Ports in use in an IBM i environment

In an IBM i environment, you can view the port numbers currently in use on your system with one of these methods.  In these examples, looking for use of local ports 8000 and 8001:

 

 

  • Select from the iSeries Navigator, select > Network, then > TCP/IP Configuration, then > IPv4, then > Connections.  Click on the Local Port column to sort and scroll to range of ports.

 

 

 

 

  • If you do not see local port 8000 and 8001, they are not being used or in use.

 

 

  • Select from the Navigator for I (using web browser (system name or ip:2001)), select > Network, then > TCP/IP Configuration, then > IPv4, then > Connections.  Click on the Local Port column to sort and scroll to range of ports, or use filter.

We save our customers hundreds of hours and thousands of dollars each year.

The team at iTech has over 40 technical certifications, boasts 3 IBM Champions, and has a team with over 900 years of combined IBM i experience.

  • If you do not see local port 8000 and 8001, they are not being used or in use.

  • Enter WRKTCPSTS on an IBM i command line and select Option 3 (Work with TCP/IP connection status). Press F14 to sort the port numbers in numerical sequence, and Press F15 to subset Local port range (Upper value 8000, and Lower value 8001).

  • Enter NETSTAT *CNN on an IBM i command line and press Enter. Press F14 to sort the port numbers in numerical sequence, and Press F15 to subset Local port range (Upper value 8000, and Lower value 8001).

  • If you see this when you subset Local port range, then they are not being used or in use.

Leave a Comment

Your email address will not be published.