Share localhost with a client
You want a client (or a teammate, or your phone) to see what's running on your machine right now, without deploying. Here's the whole flow.
1. Share it
curl -fsSL https://usejetty.online/install/jetty.sh | bash # once
jetty login # once; creates your API token
jetty share 3000 # your dev server's port
You get a public HTTPS URL like https://reef-moyxrzgk.usejetty.online. Send it. It works on phones and from any network; nothing opens on your router.
Laravel Herd or Valet site? Run jetty share inside the project folder and it finds the site for you.
2. Give it a name that sticks
Random URLs change. Reserve a label so the link you sent yesterday still works today:
jetty share 3000 --subdomain=acme-redesign
Every plan includes at least one reserved label (Dashboard → Domains). On Captain and Fleet you can use your own domain instead, like preview.youragency.com.
3. Show several things at once (Captain and up)
Frontend, API docs and Storybook running on different ports? Share each one, then put them on a gallery: one page at usejetty.online/gallery/your-crew with a card for each. Stopped tunnels hide themselves, so your client never clicks a dead link. See Public galleries.
4. Keep it private
- Password: Dashboard → your tunnel → Settings → Basic auth. The browser asks for a username and password before anything loads.
- IP allowlist (Captain and up): only let your client's office network in.
- When the review is over, stop
jetty share(Ctrl-C) or delete the tunnel; the URL stops answering immediately.
5. Things that trip people up
- Free plan warning page: on Dinghy, visitors' browsers see a one-time "you're visiting a developer's local server" page and click Continue. It's there to stop phishing on the shared domain. Paid plans don't show it.
- Wrong URLs in links or assets: set your app's base URL to the tunnel URL while sharing (Laravel:
APP_URL=https://acme-redesign.usejetty.online). Jetty also rewriteslocalhostlinks in HTML, CSS and JS for you. - Hot reload: Vite and Next.js HMR work through the tunnel (WebSockets pass straight through). If Vite blocks the host, add your tunnel host to
server.allowedHosts. - Your laptop sleeps, the link dies: the tunnel is your machine. Keep it awake for the review, or deploy for anything long-lived.
Want to see what they clicked?
On Captain and Fleet, request inspection shows every request that hit the tunnel (method, path, status, timing), and you can replay one against your local server, handy when a client says "the form didn't work".
Send feedback
Found an issue or have a suggestion? Let us know.