Chapter 8 Diagnosing Problems With CiscoWorks Server
Frequently Asked Questions
8-26
User Guide for CiscoWorks Common Services
78-16571-01
If you run this command without any command line parameter, CiscoWorks
displays:
*** CiscoWorks Webserver port change utility ***
Usage: changeport <port number> [-s] [-f]
where
port number—The new port number that should be used
-s
—Changes the SSL port instead of the default HTTP port
-f
—Forces port change even if Daemon Manager detection FAILS.
Note
Do not use this option by default. Use it only when CiscoWorks
instructs you to.
For example, you can enter:
changeport 1744
—Changes the CiscoWorks web server HTTP port to use 1744.
Or,
changeport
port number
-s
—Changes the CiscoWorks web server HTTPS port
to use the specified port number.
The restrictions that apply to the specified port number are:
•
Port numbers less than 1025 are not allowed except 80 (HTTP) and
443 (HTTPS). Also port 80 is not allowed for SSL port and port 443 is not
allowed for HTTP port.
•
The specified port should not be used by any other service or daemon. The
utility checks for active listening ports and ports listed in /etc/services. If any
conflict is found it rejects the specified port.
•
The port number must be a numeric value in the range 1026 – 65000. Values
outside this range and non-numeric values are not allowed.
•
If port 80 or 443 is specified for any of the webservers, that webserver process
is started as root. This is because ports lower than 1026 are allowed to be used
only by root in Solaris.
However, according to Apache behavior, only the main webserver process
runs as root, and all the child processes will run as casuser:casusers. Only the
child processes serve the external requests.