localtunnel / server

server for localtunnel.me
https://localtunnel.me
MIT License
3.01k stars 976 forks source link

Erro running localtunnel on subdomain #112

Open marcoaugustoandrade opened 5 years ago

marcoaugustoandrade commented 5 years ago

I start a VM on Digital Ocean. Redirect a DNS A Record cloud.marcoandra.de to my VM. I install a Nodejs (Version 12) and NPM. Clone repository with git clone https://github.com/localtunnel/server.git Access directory an run npm install. Run a LocalTunnel server with node -r esm bin/server --domain cloud.marcoandra.de

In my laptot I have a node run on port 3005 (Its works on localhost). I try run LocalTunnel client with lt --host cloud.marcoandra.de --port 3005 I receive this message: tunnel server offline: connect ECONNREFUSED 127.0.0.1:80, retry 1s

What a I do wrong?

marcoaugustoandrade commented 5 years ago

I try in client lt --host http://cloud.marcoandra.de --port 3005, and now server do a url http://jolly-parrot-26.cloud.marcoandra.de, but don't redirect.

sirShakir commented 5 years ago

I getting same error. On my localtunnel server I ran: node -r esm bin/server --port 3011

On my localhost device I ran: lt --host http://my-tunnel-example.com:1234 --port 3000

tunnel server offline: connect.... , retry 1s

asperduti commented 5 years ago

Was anybody able to solve it? I am running the server on a VM instance on the Google Cloud Platform. I opened all the ports in the firewalls rules. But nothing...

sirShakir commented 4 years ago

No if my research was correct localtunnel server is not up to date and down at the moment at least.

tanhuynhhoang commented 4 years ago

Hi! I had running the server on a VM instance on the Google Cloud Platform, so i'am going to setup localtunnel server, but "‘node -r esm’: No such file or directory". I think i must configure DNS server, So please help me to do it. Thanks

gaamaaresosa commented 3 years ago

Hi marcoaugustoandrade, Now only I try to install my own localtunnel server at DigitalOcean Ubuntu droplet. Not working... I am very new to this. Can you please help me with step by step instructions ?