Httpd Listen

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Multiple Occurrences

If the Listen directive is specified multiple times, possibly in different configuration files like httpd.conf and ssl.conf, it will work find as long as it configures to bind the server on different ports. However, if more than one Listen directives instruct the server to listen on the same port, the server will fail to start with a message similar to:

Nov 17 16:20:33 pkb.local httpd[1669]: (98)Address already in use: AH00072: make_sock: could not bind to address 1.2.3.4:443
Nov 17 16:20:33 pkb.local httpd[1669]: no listening sockets available, shutting down