question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m trying to setup my own localtunnel server and can’t seem to get it working. I’m pretty sure I have both ends setup correctly, and I do get back an address when I connect with the lt client, but after a few seconds the connection drops with

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect ETIMEDOUT
    at errnoException (net.js:901:11)
    at Object.afterConnect [as oncomplete] (net.js:892:19)

I also see on my server HTML page that the tunnel count goes to 1, then back to 0 when the connection drops.

Any ideas?

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
defunctzombiecommented, Nov 15, 2013

Yea, all TCP ports must be open.

  localtunnel-server tcp server listening on port: 35189 +2ms

The client will establish a connection on that port.

Per the instructions

The server can accept incoming TCP connections for any non-root TCP port (ports over 1000).
0reactions
defunctzombiecommented, Nov 16, 2013

None that I am aware of. A while back there were reports of requests timing out, but I believe those have been resolved. If you can reproduce it reliably I am happy to take a look (provided an example that reproduces it).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix connection errors - Google Chrome Help
To fix the error, click Connect on the page you try to open. ... You'll see this error if your computer or mobile...
Read more >
FIX: Omegle error connecting to server [Updated Guide]
1. Try using another device · 2. Connect from another network · 3. Use a reliable VPN that won't get blocked by Omegle...
Read more >
Fix: Omegle Error Connecting to Server - Appuals.com
What Causes Omegle Error Connecting to Server? ... Among other causes, the error can be caused by faulty Internet connection settings which can...
Read more >
[Fix] Omegle “Error Connecting To Server. Please Try Again"
To fix this issue, check for any outages with your internet service provider, reboot your internet router, clear your browser's cache, or reset ......
Read more >
How to Fix An Error Connecting to the Apple ID Server Mac ...
Have you ever meet Verification failed There was an error connecting to the Apple ID server? Are you meeting it after new iOS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found