question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`--subdomain` option does not always work

See original GitHub issue

I’ve noticed that in some cases when a user starts a localtunnel client - then exits it (via ctrl + c) - the named tunnel is not returned. Launching the client again and requesting the same subdomain results in the user being assigned a random name instead.

Run the client as usual and request a custom domain.

lt --subdomain nice-donkey-20 --port 8000

Then run the client again - requesting the domain and sometimes you are not given the same domain. This behavior has come up in the past and requires looking into the localtunnel/server logic for connection count tracking.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:61
  • Comments:82 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
jonsgreencommented, Jun 22, 2018

👍 Same problem here and I am depending on it for local development debugging with a third party application.

11reactions
ismailnurudeencommented, Dec 18, 2020

This issue still exists. I was running a server with a subdomain before my PC unexpectedly went off. After powering it back on, i can no longer use the subdomain i was previously using.

When i try a new subdomain, it works but can’t use the old one. Seems like the subdomain was not explicitly unassigned in the localtunnel server after the unexpected disconnection.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sub domains not working all time - DNS & Network
Hi,. I have already added subdomain entry under DNS. but subdomains are not working properly for all time. like if I refresh my...
Read more >
cPanel Subdomain not working
Hello there, I have a problem when i login in cPanel and create a subdomain for my domain it doesnt work. It does...
Read more >
problems with subdomains | WordPress.org
I create a subdomain in WP without problem, but when I try to enter the desktop of this subdomain, I get the 404...
Read more >
Troubleshooting For Email Subdomain - Grip
This is because your top level domain has a Strict-Transport-Security policy that includes all subdomains. At Grip, we use a sub domain for ......
Read more >
How To Setup A Subdomain In cPanel - YouTube
NameHero provides UNLIMITED subdomains (blog.example.com) with ALL Web Hosting accounts!In this video tutorial, I demonstrate how to easily ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found