CLI

deployzy http

Expose a local HTTP server to the internet.

deployzy http [port] [flags]

Creates an HTTP tunnel to expose a local web server.

Examples

# Basic — expose port 3000deployzy http 3000# Custom subdomaindeployzy http 3000 --subdomain myapp# With basic authdeployzy http 8080 --auth "user:password"# Disable request inspectiondeployzy http 3000 --inspect=false# Full address instead of just portdeployzy http localhost:8080

Flags

FlagDefaultDescription
--subdomainrandomCustom subdomain (myapp.deployzy.app)
--hostname—Custom domain (api.example.com)
--auth—Basic auth (user:pass)
--inspecttrueEnable request inspection
--inspector-addr127.0.0.1:4040Local inspector address
--name—Tunnel name/label

Request inspection

When inspection is enabled (default), every request is captured and viewable at: - Local inspector: http://127.0.0.1:4040 - Dashboard: https://deployzy.com/inspector

Was this page helpful?