Integrant component for the dev dashboard HTTP server on port 9999.
Integrant component for the dev dashboard HTTP server on port 9999.
(clear-config-overrides!)Reset dashboard config overrides so the next restart loads only on-disk config.
Reset dashboard config overrides so the next restart loads only on-disk config.
(port-plan port)Which ports to try for port, in order, and what running out of them means.
Pure, and separate from the binding, because every defect in this area has been a policy decision tangled up with a socket call (BOU-377):
{:error :out-of-range} not a TCP port {:ports [p] :on-exhausted :raise} below 1024 — a bind failure there may be EACCES, which Java does not distinguish from EADDRINUSE, so it is tried once and the failure told {:ports [p … p+10] :on-exhausted :give-up} otherwise, capped at 65535
Which ports to try for `port`, in order, and what running out of them means.
Pure, and separate from the binding, because every defect in this area has
been a policy decision tangled up with a socket call (BOU-377):
{:error :out-of-range} not a TCP port
{:ports [p] :on-exhausted :raise} below 1024 — a bind failure there
may be EACCES, which Java does not
distinguish from EADDRINUSE, so it
is tried once and the failure told
{:ports [p … p+10] :on-exhausted :give-up} otherwise, capped at 65535cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |