Ngrok: Failed to complete tunnel connection

Created on 21 Feb 2018  Â·  22Comments  Â·  Source: inconshreveable/ngrok

I have a Django server running inside a Docker instance exposed on port 8000. I can access the server from my mobile phone (connected on the same network) too.
I ran ngrok http 8000. However, ngrok doesn't seem to work and throws the following error though I could access http://localhost:8000/,

9e04064f ngrok io

Not only Django, even when I ran a simple Python server (outside Docker) running on port 8080, ngrok still gave the same error.

Version

ngrok: 2.2.8
OS: Arch Linux (updated)

Most helpful comment

start your local server
For example mine is WampSever yours can be Xampp, Lamp, Mamp.
Local server itself starts automatically http 80 port.

All 22 comments

I'm having this same issue on my Arch system.

Weirdly today ngrok worked fine all morning, and now it's back on the same error.
I'm using the same version 2.2.8 .
Also my ngrok window looks like this :

https://i.imgur.com/aNsIwet.png

start your local server
For example mine is WampSever yours can be Xampp, Lamp, Mamp.
Local server itself starts automatically http 80 port.

I am having the same problem with port 80 anybody having solutions

Actually when i run beef with the ngrok port i get the same error at port 80

ngrok shows this error when the local server is not running
start your server first and also check the server port as well as ngrok port

For example: i am using two servers WAMP && XAMPP
WAMP is on port 80
While
XAMPP is on port 8012

therefore the command will be

ngrok http 80 for WAMP folder
ngrok http 8012 for xampp folder

My server is running i think.My ngork http 80 is showing bad gateway

Do i have to use apache to start the server..sorry im a beginner

yes that what i was saying you have to start the Apache
and i think location of the ngrok application also matters
so put it there where all your projects are located of their respected server

yes that what i was saying you have to start the Apache
and i think location of the ngrok application also matters
so put it there where all your projects are located of their respected server

Plzzz tell me if i have to use beef do i have to put port80 and port 3000???how do I do that???

Worked for me after change region (EU) with laragon

I think this is because of u stopped ur local server.
first u start ur local server (xampp,wampp,or npm start)
second open ngrok.exe and type(ngrok http (ur server port))

im a begginer, can someone tell me how to start a server?

I was running a simple NodeJS server on 3000, and I ran across this issue for two cases.

  1. My server was stopped.
  2. I was not using the correct "ngrok http 3000" command.

I had the same issue. It was fixed by starting my local server using npm run dev and then running ngrok command ngrok http 3000 (in my case)

How to start a server can anyone tell me!!

@PlanetHackers-YT starting your local server is easy, depending on your environment. Are you working with nodeJS?

I have faced the same issue and i have to start xampp server but it gives me a same error so what I need to do?

I have faced the same issue and i have to start xampp server but it gives me a same error so what I need to do?

start your local server
whatever You are using.
For example WAMP,LAMP MAMP OR XAMPP

  1. Start your Apache server.
  2. Restart ngrok .

ok thank you.

On Fri, 16 Oct 2020 at 10:29, Sanchit Verma notifications@github.com
wrote:

I have faced the same issue and i have to start xampp server but it gives
me a same error so what I need to do?

start your local server
whatever You are using.
For example WAMP,LAMP MAMP OR XAMPP

  1. Start your Apache server.
  2. Restart ngrok .

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/inconshreveable/ngrok/issues/478#issuecomment-709778193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APSRJ4H6XKQSOOUHJSY7JYTSK7HMHANCNFSM4ERVOIBQ
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

megapctr picture megapctr  Â·  4Comments

ricardopieper picture ricardopieper  Â·  3Comments

asukiaaa picture asukiaaa  Â·  5Comments

IngwiePhoenix picture IngwiePhoenix  Â·  7Comments

zero-master picture zero-master  Â·  6Comments