# localtunnel Tunnel Password: Find It or Skip the Page

> The loca.lt tunnel password is the public IP of the machine running the tunnel. Find it with curl, skip it with a header, or share with no password and no IP.

Source: https://layerv.ai/guides/localtunnel-tunnel-password/

---

[← All guides](https://layerv.ai/guides/) 

# localtunnel Tunnel Password: Find It or Skip the Page

The localtunnel tunnel password is the public IP address of the machine running the tunnel, according to the loca.lt maintainer; run curl ipv4.icanhazip.com there to see it. Scripts can skip the reminder page with a Bypass-Tunnel-Reminder header. To share without handing out your IP, publish with qURL™: recipients open a private link with no password page.

## Why qURL here

qURL needs no account either, but the app gets no public URL, so there is no reminder page and no IP address to pass around. Invite people by email, or send one person a link that opens once and expires on its own, and end access with one command. The app has no open port, so scanners have nothing to find.

[See how qURL compares to localtunnel →](https://layerv.ai/compare/qurl-vs-localtunnel/)

Copies a prompt for any agent that runs commands. 

## What you need

- The qURL CLI 4.0.0 or later
- For localtunnel: a URL on loca.lt

Content updated November 23, 2026.

## Who meets the reminder page, and the way past it

__Who meets the reminder page, and the way past it__
| Who opens the loca.lt URL                        | What gets them past the page                                                           | Step   |
| ------------------------------------------------ | -------------------------------------------------------------------------------------- | ------ |
| A person in a browser                            | The tunnel password: the public IP of the machine running lt, which you must send them | Step 1 |
| Your own script, API client or webhook test      | Send a Bypass-Tunnel-Reminder request header                                           | Step 2 |
| Anyone you would rather not give your IP address | Publish with qURL and send a private link: no password page                            | Step 3 |

## Steps

1. ### Find the password on the machine running the tunnel  
The maintainer of the public loca.lt server says a tunnel’s password is its creator’s public IP address, and suggests reading it with curl on the machine that runs lt. Run this there, not on the visitor’s machine.  
```  
curl ipv4.icanhazip.com
```

**Check:** curl prints one IPv4 address. That is the password visitors type.
2. ### For scripts and API clients, send the bypass header  
The maintainer says the reminder appears only for browser clients, and that a request with a Bypass-Tunnel-Reminder header is proxied without it. A browser visitor who enters the password is not asked again from that public IP for 7 days.  
```  
curl -H 'Bypass-Tunnel-Reminder: true' https://<your-subdomain>.loca.lt/
```
3. ### For people, share without a password page or your IP  
On macOS, install it with Homebrew. On Linux and Windows, download the package for your platform from the latest release; the CLI page lists each one. For commands with --name, qurl --version must print 4.0.0 or later. Update an older CLI before copying those commands. Nothing asks you to sign up. Sending the tunnel password tells every recipient your public IP address. A qURL link carries the access itself, so there is nothing else to send.  
```  
brew install layervai/tap/qurl
brew upgrade qurl
qurl --version
```
4. ### Publish the app and make a link  
`qurl publish` registers the app without a public URL, prints its CRID and exits. `qurl share` prints a link that opens once and expires within 24 hours. Send that link, and nothing else.  
[Guide: Share localhost without signing up →](https://layerv.ai/guides/share-localhost-without-signup/)  
```  
qurl publish http://127.0.0.1:3000 --name "App preview"
qurl share <CRID>
```

## What the recipient sees

A one-time qURL link grants access to the first person who opens it, with no LayerV account or client install.

qURL may show a preview before connection. Named invitees verify their email and save a passkey. Your app’s own login still applies, and your machine must stay awake with the app running.

## Troubleshooting

__Troubleshooting__
| If you see                                                       | Do this                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The visitor typed the password and still sees the page           | The password must be the public IP of the machine running lt. If that machine sits behind a VPN or its IPv4 address changed, run curl ipv4.icanhazip.com there again. With a one-time qURL link, recipients do not enter a tunnel password; the link carries access, and the app’s own login still applies.                                                                                                                           |
| qurl publish says the local app is not accepting TCP connections | Start the app first and check that curl works on the same address. qurl publish connects to localhost as 127.0.0.1, so if your app listens only on IPv6 (on macOS or Linux, lsof -iTCP -sTCP:LISTEN -nP shows \[::1\]), publish 'http://\[::1\]:PORT' instead, or start the dev server with --host 127.0.0.1 and publish that address. Neither requires listening on your LAN. Keep the quotes: zsh treats the brackets as a pattern. |

__More troubleshooting__
| If you see                                                                                                                                      | Do this                                                                                                                                                                                                                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The recipient sees “Access link invalid”                                                                                                        | The link was already used or has expired. Run qurl share again and send the new link.                                                                                                                                                                                                                                         |
| The recipient sees “Resource not found”                                                                                                         | The resource was deleted after the link was made. Publish the app again, then run qurl share and send the new link.                                                                                                                                                                                                           |
| publish rejects http://127.0.0.1 with “only HTTPS URLs are allowed”, asks you to log in, prints no Access: line, or says “unknown flag: --name” | Your qURL CLI is out of date. On macOS run brew update, then brew upgrade qurl; elsewhere install the latest release. After updating, qurl --version prints 4.0.0 or later, and every publish is private by default.                                                                                                          |
| publish says “a public name is required” in a script or agent run                                                                               | Add --name "App preview" to the publish command, replacing App preview with a short public name for your app. Recipients can see this name; keep secrets and client details out of it.                                                                                                                                        |
| publish says this Linux session “can’t reach a systemd user manager”                                                                            | You are in a container or sandbox without a user service manager. Run qurl publish with --foreground; sharing lasts as long as that process runs. [Container and CI setup →](https://layerv.ai/guides/share-from-a-container-or-ci/)                                                                                          |
| publish says “Quota Exceeded” with “protected resource limit reached”, or “Your qURL account has reached a plan limit”                          | You can see this without an account: a device with no account can keep up to 3 active resources, with links that last up to 24 hours. Run qurl list --status active, then qurl delete <CRID> for any you no longer need (it asks you to confirm; --yes skips that). qurl stop keeps the resource, so it does not free a slot. |

## Frequently Asked Questions

Why does localtunnel ask for a password at all? 

The public loca.lt server shows a reminder page to browser visitors, and its maintainer says the password is the tunnel creator’s public IP. Anyone who has the URL and that IP can open the app; the localtunnel project documents no other visitor access control.

Is it safe to send someone my tunnel password? 

It tells them your public IP address, which can reveal your rough location and network. A qURL link reveals neither the app’s address nor a password: recipients open the link, and qURL may show a preview before connecting to the app.

Who else can reach my app while the link is open? 

Opening the link gives that browser access for 1 hour by default. Other browsers on the same public IP cannot use that session. Whoever opens the link first can use it. Scripts without a browser use IP-based access, which devices on the same public IP can share. Keep your app’s sign-in for sensitive data.

## Related Resources

[qURL vs localtunnel →](https://layerv.ai/compare/qurl-vs-localtunnel/) [Guide: Switch from localtunnel →](https://layerv.ai/guides/switch-from-localtunnel/) [Guide: Share localhost without signing up →](https://layerv.ai/guides/share-localhost-without-signup/) [Guide: Get past the ngrok browser warning →](https://layerv.ai/guides/skip-ngrok-browser-warning/) [ngrok alternatives →](https://layerv.ai/compare/ngrok-alternatives/) [localtunnel issue #598: the tunnel password ↗](https://github.com/localtunnel/localtunnel/issues/598) [localtunnel on GitHub ↗](https://github.com/localtunnel/localtunnel)

## Publish your app now

Install the CLI, then run one command. No sign-up, no API key.

[Install the CLI →](https://layerv.ai/cli/)



---

*This markdown version is auto-generated from [https://layerv.ai/guides/localtunnel-tunnel-password/](https://layerv.ai/guides/localtunnel-tunnel-password/) for AI agents. Curated agent resources: [llms.txt](https://layerv.ai/llms.txt). For the full interactive experience, visit the HTML version.*

Site search: POST https://4f981608-057a-48bb-b205-a289823b32e4.search.ai.cloudflare.com/search with JSON `{"messages":[{"role":"user","content":"YOUR QUERY"}]}`. Results include public content and source URLs.

