Ports
Operator-facing clone URLs and docs prefer IANA / Git-documented ports. Unprivileged loopback demos may bind higher ports — those are alternates, never “more standard” than the normative set.
Normative vs demo
| Surface | Normative target | Demo / alternate | Notes |
|---|---|---|---|
SSH git (arks serve SSH module) |
22 | 2222 | 22 = IANA ssh; 2222 = unprivileged / host-sshd conflict workaround (IANA EtherNet/IP — not a Git port) |
| HTTP git | 80 | 8080 | 80 = IANA http; 8080 = unprivileged demo |
| HTTPS | 443 | Ops TLS front on 80/8080 | Prefer reverse-proxy TLS off localhost |
git:// (arks daemon) |
9418 | — | IANA git + git-daemon default |
Forge API (under arks serve) |
3920 | configurable | arks-local convention — not an IANA Git port |
Policy
- Teach 22 / 80 / 443 / 9418 as the product story when the operator can arrange privileged bind, capability, or an ops front (reverse proxy / NAT / publish map).
- Label 2222 / 8080 as demo / alternate in help and docs.
- Process clap defaults may stay loopback-friendly demos until a coordinated code + test + docs flip — defaults must not be described as more normative than 22/80.
- Port policy does not imply WAN-safe hosting by default. Binding a port alone does not prove module readiness. In-process SSH and in-process TLS are clean-room verified (SSH receipt, TLS receipt) — SSH port 2222 remains a loopback/demo alternate.
Full self-host bind/auth story: Self-host. Research: ports survey. Specification: arks-self-host-server.
Honesty
Binding a port does not prove module readiness by itself. In-process SSH (SSH receipt) and in-process TLS (TLS receipt) are clean-room verified for their evidenced scopes. If SSH or forge modules are enabled, bind failures fail closed rather than silently degrading. Diagnostic harnesses (hub smoke / --local-tls) remain separate from production listeners; HTTPS remote forge client end-to-end is verified (HTTPS client receipt). Full residual details: arks-claimed-residual-gates.