Localtunnel alternative not working
Asked Answered
D

6

5

I connect my app to Localtunnel. It was working very well until last week, but now it's not working:

this error comes

Drip answered 13/11, 2017 at 15:45 Comment(1)
github.com/anderspitman/awesome-tunneling looks like a good list of alternatives. loophole.cloud and localhost.run and github.com/fatedier/frp were most interesting to me as alternatives to localtunnel and ngrok.Eos
L
3
lt -h http://serverless.social -p 3000 

This was a quick fix that I found, and it works well

lt -h http://serverless.social -p 3000 --subdomain charls 

Will also let you have a custom subdomain name.

Lymphatic answered 13/6, 2020 at 16:18 Comment(0)
G
3

Edit: Localtunnel appears to be working again. (Of course depending when you're reading this it may not be. Please use your own judgment.)

Original answer:

The cloud-hosted part of Localtunnel is currently down. You'll have to wait until its maintainer brings it up again, or use another service like ngrok.

Some more issues tracking this:

Gitlow answered 13/11, 2017 at 19:55 Comment(0)
L
3
lt -h http://serverless.social -p 3000 

This was a quick fix that I found, and it works well

lt -h http://serverless.social -p 3000 --subdomain charls 

Will also let you have a custom subdomain name.

Lymphatic answered 13/6, 2020 at 16:18 Comment(0)
R
2

Try localhost.run it works well and require no additional installation.

Rohde answered 5/5, 2020 at 9:8 Comment(0)
W
1

Try ngrok : https://ngrok.com/

Its free and very easy to use...

For windows just extract the zip and run the exe file and type:

ngrok http 3000

note : 3000 or any other port number on which your local host is running on.

Williswillison answered 25/9, 2019 at 9:34 Comment(0)
A
1

Use termux and get better result otherwise you can do this make javascript file

const localtunnel = require('localtunnel');
(async () => {
  const tunnel = await localtunnel({ port: 8000 });
  console.log(tunnel.url);  
  tunnel.on('close', () => {
  });
})();

Save it and run node filename.js

It should work By the way it's not work in android cause it's comes with openurl which is not for android you have to change ta script then ...so use this code you will get better result

Aspic answered 10/9, 2021 at 19:10 Comment(0)
L
0

I tried:

npx localtunnel --port PORT and lt --port PORT

(with proper for me number of the port in place of "PORT")

and didn't receive a response for a long time in both attempts. I found here: Use backup host lt -h "http://serverless.social" -p PORT if site is down info about the backup host, this works for me:

t -h "http://serverless.social" -p PORT

Lorrimor answered 9/5, 2020 at 14:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.