Httpd Listen

From NovaOrdis Knowledge Base
Revision as of 00:33, 18 November 2021 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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