Skip to content

Instantly share code, notes, and snippets.

@ma7dev
Forked from maximiliano/ngrok.yml
Last active November 16, 2022 16:35
Show Gist options
  • Save ma7dev/b3c2b32663be66184c1f252b8e2c31f6 to your computer and use it in GitHub Desktop.
Save ma7dev/b3c2b32663be66184c1f252b8e2c31f6 to your computer and use it in GitHub Desktop.
Ngrok, running multiple ports at once (works for free version)
# Create 4 tunnels, each for different ports, with only https enabled
# This way the ngrok process stays bellow the Free plan limit (4 tunnels)
# command: ngrok start --all # to start all of them
# command: ngrok start note tb # to run jupyter notebook server and tensorboard server only
# refer to this page for more info: https://ngrok.com/docs#multiple-tunnels
authtoken: ...
log: ngrok.log
tunnels:
# to run jupyter notebook server
note:
addr: 7111
proto: http
bind_tls: true
# to run visdom server
visdom:
addr: 8097
proto: http
bind_tls: true
# to run tensorboard server
tb:
addr: 6006
proto: http
bind_tls: true
# just an extra port available for any usage
other:
addr: 6969
proto: http
bind_tls: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment