Shopify App CLI : Failed to complete tunnel connection

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  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)
New Member
1 0 1

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

5 0 9

Have the same problem. No solution until now?

New Member
1 0 1

Has anyone been able to find a solution to this ?

Shopify Partner
67 1 14

Same here. Did you manage?

Learning something new every day
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.