ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

Can't run multiple ngrok tunnels using config file

Open Githamza opened this issue 3 years ago • 1 comments

I would like to run multiple Ngrok subdomains

I have created an ngrok.yml file.

tunnels:
  teams:
    proto: http
    addr: 8000
    subdomain: expl
  jira:
    proto: http
    addr: 8080
    subdomain: expl2

Then I run ./ngrok start teams -config=ngrok.yml

I have a Basic plan I have already registres my authtoken.

But I get this message

Only paid plans may bind custom subdomains.

**_Failed to bind the custom subdomain 'explore' for an unauthenticated client. Sign up at: https://dashboard.ngrok.com/signup

If you have already signed up, make sure your authtoken is installed. Your authtoken is available on your dashboard: https://dashboard.ngrok.com/get-started/your-authtoken

ERR_NGROK_305_**

But I'm able to run a single subdomain tunnel using command : ./ngrok http -hostname=exple 3000, it works

Githamza avatar Jan 18 '22 18:01 Githamza

You Can't Start Multiple Tunnels Without A Paid Plan, I'm Guessing You Are Using The Free Plan. You Can Create Multiple Tunnels With A Paid Plan, But Not With A Free Plan.

The Basic Allows 8 At Once.

image

erew70 avatar Jan 23 '22 18:01 erew70

Hi, Just a correction here. You can absolutely start multiple tunnels on the free plan. The issue @Githamza is facing is because they do not have an ngrok account at all or have not run ngrok config add-authtoken TOKEN to add their authtoken to the ngrok config.

russorat avatar May 21 '24 17:05 russorat