Documentation
¶
Overview ¶
portpilot — automatic port detection and reverse proxy.
Monitors /proc/net/tcp for new listening ports and dynamically proxies them at /proxy/{port}/. Designed to run inside containers as the external-facing port, routing to internal services.
Usage:
portpilot --listen :7681 --default 7682
Flags:
--listen Address to listen on (default ":7681") --default Port to proxy at / (e.g. ttyd on 7682) --base-path Base URL path prefix (default "", read from $PROXY_BASE_PATH) --scan-interval Interval between port scans (default "2s") --ignore Comma-separated ports to ignore (default: the listen port) --version Print version and exit --ports Query running instance for detected ports and exit
Click to show internal directories.
Click to hide internal directories.