node.jslocaltunnel

localtunnel.me fixed url regeneration eveytime server restarts


I am using localtunnel.me (https://github.com/localtunnel/localtunnel) to create a connection to my localhost. I am using the following command at the terminal: lt --port 80 --subdomain test

Everytime I restart the server the url is regenerated to a random server. Is there anyway to get the same url.


Solution

  • Might be late to answer but --local-host xxx.xxx.x.x --subdomain xxxx --port xxx lets you get the same URL each time. The flags need to be passed in same order.

    For example if --subdomain is as follows --local-host xxx.xxx.x.x --subdomain --port xxx dummy_url then you will get https://dummy_url.loca.lt/