-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error connecting #3
Comments
Without more information about how you launched the server and the client I can't really help. Maybe make sure that the service you are trying to tunnel for is also running and on the port you expect. The count goes to 1 when a tunnel has been assigned but if your client fails to connect to the server within a specific window, the tunnel will be closed. |
I followed your instructions to a T for both the localtunnel-server and localtunnel repos, then launch the server (Ubuntu 13.10 with Node 0.10.22) with the following
And connect client (OSX Mavericks with Node 0.10.21) with the following
I've tried different ports (8080, etc.) and same result. Also if I specify a subdomain I get an immediate error as follows
I'm running the master HEAD code from both repos, is there a commit point that might be more stable? |
Also I've got a wildcard DNS entry for *.my.host pointing to the server. Server localtunnel process has no output throughout. |
Wildcard entries in etc/host file (which is what I am assuming you edited?) If you want to see debug output, run the server with: DEBUG=localtunnel* bin/server --port 80 This will print some additional details. My guess is that this is a dns issue based on the EADDRNOTAVAIL error, On Fri, Nov 15, 2013 at 4:31 PM, Marc Lennox notifications@github.comwrote:
|
I'm using wildcard DNS entries, and they appear to be resolving properly. Here's the log from the server with the logging flag turned on (using port 9070)
I'll try running it locally as you suggested. |
Seems to work fine on my local machine... Are there any other special DNS or network requirements I need to be aware of? I'm running the server on Azure cloud, with the specified port open. |
Yea, all TCP ports must be open.
The client will establish a connection on that port. Per the instructions
|
Yep, that would do it. :) Awesome, thanks for the quick help on this, and On 15 November 2013 16:57, Roman Shtylman notifications@github.com wrote:
|
I was able to get past the port issue, but now I get requests hanging and timing out. In some cases it appears the local server is receiving and responding to the request, but rarely does that end up in a completed request from the originating client. But I'm also having the same issue in trying to use the service at localtunnel.me. Are there any gotchas associated with the local web server port I should be aware of? |
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). |
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
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?
The text was updated successfully, but these errors were encountered: