By default, Apache listens on port 80. You might want to change this, for instance, if you’re setting up a second Apache server for testing. The port is set by using the Listen directive as follows:
Listen 80
With Apache 2.0 and 2.2, the Listen directive is required. If no Listen directive is included, Apache 2 won’t start.
You can change the port number as follows:
Listen 8080
Listen 80
With Apache 2.0 and 2.2, the Listen directive is required. If no Listen directive is included, Apache 2 won’t start.
You can change the port number as follows:
Listen 8080
No comments:
Post a Comment