English

How To: Change the port numbers ArcIMS uses on UNIX

Summary

ArcIMS uses predefined ports to communicate between the ArcIMS Application Server and the ArcIMS Servlet Connector, and the ArcIMS Application Server and the ArcIMS Spatial Server. The default ports are:

· 5300 for communication between the ArcIMS Application Server and the ArcIMS Servlet Connector.

· 5353 for communication between the ArcIMS Application Server and the ArcIMS Spatial Server.

If there is a conflict with existing ports, it's necessary to change the ArcIMS ports.

Procedure

  1. Edit the following lines in $AIMSHOME/Middleware/Servlet_Connector/Esrimap_Prop:
    Code:
    appServerMachine=APPSMACHINE
    appServerClientPort=5300 **Change port number

  2. Edit the following lines in $AIMSHOME/Middleware/Application_Server/Appserver.Properties:
    Code:
    connectorPort=5300 **Change port number
    regPort=5353 **Change port number

  3. Edit the following line in $AIMSHOME/Monitor/Monitor.properties:
    Code:
    registryPort=5353

    Change the 5353 to the regPort assigned in step 2.

  4. Shut down the ArcIMS Tasker, ArcIMS Monitor, and ArcIMS Application Server processes. Restart your web server. Then start the ArcIMS Application Server, ArcIMS Monitor, and the ArcIMS Tasker processes.