Forward a development web server via TCP
mainTo share a local web server (e.g., running on localhost:3000) with a remote colleague:
- On the host (Listener): Run
dumbpipe listen-tcppointing to the local web server port. This outputs a<ticket>. - On the client (Connector): Run
dumbpipe connect-tcpspecifying a local port to listen on and the<ticket>from the host. - Access: The client can now access the remote web server by browsing their own local port.
# 1. The web server (e.g., npm run dev on port 3000)
# 2. The dumbpipe listener (on the host)
dumbpipe listen-tcp --host localhost:3000
# 3. The dumbpipe connector (on the client)
dumbpipe connect-tcp --addr 0.0.0.0:3001 <ticket>
# 4. Access via http://localhost:3001