HTTP · TCP · SSH

Expose localhost to the internet

One CLI command publishes a public URL or TCP port. Register from the CLI if you do not have the site running yet.

$ portlify register --mail you@domain.com
$ portlify http 3000 --subdomain parrot

✓ Connected to Portlify
✓ Tunnel established

Forwarding
https://parrot.portlify.ru
        ↓
http://localhost:3000

Inspector    http://localhost:4040

Install

npm package, or a binary from the install page.

npx
npx @craftlify/portlify
npm
npm i -g @craftlify/portlify
pnpm
pnpm add -g @craftlify/portlify

HTTP

Web apps, webhooks, and WebSockets on a named subdomain.

TCP

Postgres, Redis, and anything that speaks TCP on a public port.

SSH

portlify ssh 22 — then ssh user@tcp.portlify.ru -p <port>.