The Listen directive instructs Apache to listen to more than one
IP address or port; by default it responds to requests on all IP
interfaces, but only on the port given by the Port
directive.
Note that you may still require a Port directive so that URLs that Apache generates that point to your server still work.
Multiple Listen directives may be used to specify a number of addresses and ports to listen to. The server will respond to requests from any of the listed addresses and ports.
For example, to make the server accept connections on both port 80 and port 8000, use:
Listen 80 Listen 8000To make the server accept connections on two specified interfaces and port numbers, use
Listen 192.170.2.1:80 Listen 192.170.2.5:8000
See Also: DNS
Issues
See Also: Setting which
addresses and ports Apache uses
See Also: Known
Bugs