Expose a local web server
Give a local web app or API a public HTTPS URL.
Start an HTTP service on port 3000. Confirm that curl http://127.0.0.1:3000 returns your app.
Publish your service
npx tubu-cli http 3000 --domain my-app.tubu.devAn integer target port uses 127.0.0.1. To reach another machine or an HTTPS origin, provide the full target URL instead:
npx tubu-cli http http://192.168.1.20:3000 --domain my-app.tubu.devWait for Tunnel ready:. See the HTTP reference for target URL rules.
Verify the result
curl --fail https://my-app.tubu.devExpect your local app response. See the FAQ for connection errors.
Use HTTP secret protection when callers must supply a shared secret.