I connect my app to Localtunnel. It was working very well until last week, but now it's not working:
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.
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
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
© 2022 - 2024 — McMap. All rights reserved.