Issue
The Zend Server Apache instance on IBM i requires three ports. They are 10090, 10091, and 10093 (or 10080, 10081, and 10083 for versions prior to Version 9). These ports should not be in use by any other process during the installation and operation of Zend Server for IBM i. This article tells how to check to see if these ports are in use.
Environment
Version 6 or higher of Zend Server for IBM i, running on any supported version of IBM i.
Resolution
Use the NETSTAT command to see which ports are in use.
Please log in to a 5250 session using a *SECOFR class user profile. From the command line:
This will bring up the "Work with IPv4 Connection Status" display. We are interested in looking at the Local Port. Notice that on this display, some of the Local Ports are numbers, and some are text.
Please use F14 so that all Local Ports are displayed as numbers.
Now, use F13 to set the sort order to Local Port. F13 brings up the "Select Column to Sort" pop up window. Find "Local Port"on the list of Column Titles (it is in the third row), and give it a '1'. Press enter to save the selection.
You should now be back in the "Work with IPv4 Connection Status" display, sorted by Local Port, with all ports displayed as a number.
Now, please Page Down until the Local ports displayed include the range 10090 to 10093.
If Zend Server is not installed, or the ZENDPHP7 Apache instance is not active, ports 10090, 10091, and 10093 should not be displayed. In this example, nothing is displayed between Local Ports 8479 and 11279:
This indicates ports 10090, 10091, and 10093 are available (check for 10080, 10081, and 10083 for versions prior to Version 9). If Zend Server for IBM i is not installed, it should be safe to install it. If Zend Server for IBM i is installed, this would indicate that the ZENDPHP7 Apache instance is not active.
This next example shows how the display might look if the ZENDPHP7 Apache instance is active:
Notice the first three entries for the ports do not have a Remote Address specified, but just show an asterisk. If you use option 8 on any of these three, you should see a bunch of ZENDPHP7 jobs on the "Display Jobs Using Connection" display. The additional entries we see for Local Port 10093 showing a Remote Address of 127.0.0.1 are very temporary, and it is often not possible to enter an option 8 for them before the job is finished. If you do get into the "Display Jobs Using Connection" display for one of these, it will likely show "(No jobs)", which is normal when this port is used by Zend Server. This indicates the process using the port is not associated with a job.