Localtunnel alternative not working

Viewed 10451

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

this error comes

6 Answers

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:

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.

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

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.

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

Related