Entry
Is there anyway to change the default port (80)? I think that my ISP is blocking this port.
Aug 21st, 2001 14:46
Bruce Christensen, Brent Maloney,
Yes. Apache can listen on any number of ports.
There are two Apache directives that control this: Port and Listen. A
line such as:
Port 80
in your httpd.conf file tells Apache that its canonical port is port 80.
There can only be one Port line in httpd.conf. However, you can have
Apache attach to any number of additional ports by adding lines like this:
Listen 9004
Listen 1234
etc...
See http://httpd.apache.org/docs-2.0/mod/core.html#port and
http://httpd.apache.org/docs-2.0/mod/core.html#listen for more details.