Managing ports for the administration (ADMIN) server on HTTP Server
In the IBM HTTP Server for i5/OS, you can manage ports for the administration (ADMIN) HTTP Server with the Web Administration for i5/OS interface and using a 5250 session.
Information for this topic supports the latest PTF levels for HTTP Server for iSeries . IBM recommends that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See IBM Service for more information.
The Web Administration for i5/OS interface runs on the ADMIN server. By default, the ADMIN server listens to port 2001. If this port is being used by another Web server or another application on your iSeries™, the Web Administration for i5/OS interface will not start. You can change the default port number for the ADMIN server at any time to avoid conflicts with shared port numbers.
Two methods of editing your ADMIN server's port number are given below.
After changing the port number, you will use the new port number to start the Web Administration for i5/OS interface.
Parent topic:
HTTP Server tasks
Change ADMIN port with a 5250 session on iSeries
- Start a 5250 session and connect to your iSeries.
- Enter WRKLNK ("/QIBM/UserData/HTTPA/admin/conf/admin-cust.conf") on the command line.
- Edit admin-cust.conf configuration file.
- Add a line after # Customer additions to the admin configuration.
- Enter Listen [port_number] (where [port_number] is the new port number you want the ADMIN server to listen on).
Example:
# Customer additions to the admin configuration
Listen *:2222
- Save and exit the configuration file.
Change ADMIN port
You will need authority to the file /QIBM/UserData/HTTPA/admin/conf/admin-cust.conf before you can change the port number of the ADMIN server.
- Click the Manage tab.
- Click the HTTP Servers subtab.
- Select ADMIN from the Server list.
- Select Include /QIBM/UserData/HTTPA/admin/conf/admin-cust.conf from the Server area list.
- Expand Server Properties.
- Click General Server Configuration.
- Click the General Settings tab in the form.
- Click Add under the Server IP addresses and ports to listen on table.
- Enter a port number other than 2001.
- Click Continue.
- Click OK.
Stop and restart your server.