FROM CACHE - en_header

Shopify App CLI : Failed to complete tunnel connection

Whimsigirl
Shopify Partner
4 0 15

Hi, First time trying to work create an app and im using the Shopify app CLI and after using $ shopify serve and launching the app in the dev store, I keep getting this error. 

 

Failed to complete tunnel connection

The connection to https://XXXXXXXXXXX.ngrok.io  was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:8081 .

Make sure that a web service is running on localhost:8081  and that it is a valid address.

The error encountered was: dial tcp [::1]:8081: connect: connection refused

 

Not sure how to get over this step. 

Thank you in advance!

 

Replies 5 (5)
AbhijitSingh
New Member
1 0 1

@Whimsigirl I am having the same problem. Were you able to resolve it? 

Mr_M
Tourist
5 0 8

Have the same problem. No solution until now?

thatGuyIzzic
New Member
1 0 1

Has anyone been able to find a solution to this ?

SpotterJ
Shopify Partner
67 1 10

Same here. Did you manage?

Learning something new every day
pixelnbyte
Shopify Partner
3 0 1

For anyone still getting this. Running shopify app tunnel stop and then shopify app serve again fixed this for me.