Skip to main content

DEFAULT_HTTP_PORT

Constant DEFAULT_HTTP_PORT 

Source
pub const DEFAULT_HTTP_PORT: u16 = 7070;
Expand description

Preferred starting port for the trusty-memory HTTP daemon.

Why: keeps the well-known default stable for clients that have hard-coded 127.0.0.1:7070 in their configuration, while still allowing dynamic walking when the port is in use (DYNAMIC_PORT_RANGE ports starting here). What: 7070 — historic default, matches the launchd plist’s prior value. Test: covered indirectly by bind_dynamic_port_returns_listener.