【ngrok】ngrok同时运行多个隧道

配置方法如下:

authtoken: NNNNNNNNNNNNNNNNNNNN
tunnels:
  tunnel1:
    addr: 8088
    proto: http
  tunnel2:
    addr: 80
    proto: http

然后使用如下命令即可启动:

ngrok start tunnel1 tunnel2  //启动隧道tunnel1和tunnel2
ngrok start --all  // 启动定义的所有隧道
ngrok start --none  // 在不启动任何隧道的情况下运行ngrok
原创文章 79 获赞 7 访问量 4万+

猜你喜欢

转载自blog.csdn.net/qgnczmnmn/article/details/105796654