Changing the HTTP Port

The SFX package comes with Apache as the HTTP server. The default port for the SFX reverse proxy server is 3410. If you want to change the port, configure the Apache configuration file.

To change the HTTP port:
  1. Log on as sfxglb41.
  2. Open the reverse proxy server configuration file:

vi /exlibris/sfx_ver/sfx4_1/proxy/conf/httpd.conf

  1. Edit the Listen element of the configuration file, where XXXX is the number of the port where you want to set the reverse proxy server for SFX. Since you can be running different Web servers in the same system, make sure the port is free to be used:

#

# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the directive.

#

# Change this to Listen on specific IP addresses as shown below to prevent Apache from glomming onto all bound IP addresses (0.0.0.0)

#

#Listen 12.34.56.78:80

Listen XXXX

  1. Restart the reverse proxy server using theServer Admin Utility. For more information, see Start/Stop Services .

When running the server on a port number lower than 1024, its processes need to be started by the root user.

To start the reverse proxy server as the root user:
  1. Type the following command when logged on as the root user:

tcsh

source ~sfxglb41/.cshrc

  1. Type the following command to start the reverse proxy server:

/exlibris/sfx_ver/sfx4_1/sfxglb41/admin/init_scripts/ proxyctl start