Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to change port # apache listens on

Status
Not open for further replies.

pctechnician

Technical User
Feb 10, 2003
134
US
while in httpd.conf i wanted to change the port # that apache listens on, but it said that and port above 1023(or 1024)cant remember. It said that you would have to run httpd as root initially.

What does that exactly mean?


Any help would be appreciated.

A+,Net+
 
apache needs to access things at system level when it starts so it starts as root then switches to a regular user. You can bind to a particular port in three ways. One is at the vhost level i.e. <VirtualHost 192.168.0.2:80> The other ways are the Port directive and the Listen directive. For example Port 80 or Listen 192.168.0.2:80
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top