server icon indicating copy to clipboard operation
server copied to clipboard

localtunnel-server cant see my localhost

Open kristianstage opened this issue 6 years ago • 7 comments

Hi. I have installed localtunnel-server on my VPS and running bin/server --port 5000 it starts the server and looking for connections on port 5000. so far so good

then from client i run: lt --host http://mydomain.tld:5000 -s 1234 -p 80 it gets connected and i see " your url is : https://xxx.mydomain.tld "

but when i enter that link in my browser it doesnt display my localhost (xampp)

if I enter lt -s 1234 it gives me a url for https://1234.localtunnel.me which works fine and display my localhost correct.

so wonder why my own server wont do the same as client connects correctly to it

Hope someone can shed some light on this Thanks alot

Best regards Kristian

kristianstage avatar Dec 06 '18 05:12 kristianstage

@defunctzombie would you be able to help me out ? :)

kristianstage avatar Dec 06 '18 06:12 kristianstage

I'm also experiencing the same issue, except I am using it on a subdomain.domain.tld so my urls are xxx.subdomain.domain.tld.

When I access my generated URL it just shows Nginx on the subdomain server and not my localhost.

hsjakobsen avatar Mar 13 '19 08:03 hsjakobsen

I'm having the same issue aswell.

When I use my own localtunnel server it shows "404". But when I use the default localtunnel.me it works perfectly.

Also i noticed. If i access my LT server, i'm able to access http://my-lt-server.example.com:47777/api/status but http://my-lt-server.example.com:47777/api/tunnels/[tunnel-id]/status will return a Not Found page.

markestocapio avatar Jun 21 '19 06:06 markestocapio

Ok, I just found out after running tunnel from my dev machine.

lt --host http://my-lt-server.example.com:47777 --port 80

It crashes after a few seconds. But it doesnt show any error. Is there a way to find the error?

markestocapio avatar Jun 21 '19 07:06 markestocapio

I have the same issue as @markestocapio

nkramaric avatar Aug 21 '19 20:08 nkramaric

I have the same issue as @markestocapio

iiko1c avatar Oct 11 '19 05:10 iiko1c

why is it showing 404 ? any way to debug that correctly ?

lefuturiste avatar Oct 28 '19 23:10 lefuturiste