飞道的博客

微信开发遇到问题

453人阅读  评论(0)

1、内网穿透不成功
       解决办法
       小米球NgrokNgrok客户端启动工具
     作者:刺球 QQ:752102401
     官方QQ群:150134730
   官方网站:
       http://ngrok.ciqiuwl.cn/
     https://manager.xiaomiqiu.com/
2、配置config

server_addr: "ngrok2.xiaomiqiu.cn:5432"
trust_host_root_certs: true
inspect_addr: disabled
auth_token: "你的小米球Token,需前往https://manager.xiaomiqiu.com/ 注册获得"

tunnels:

    httptun://隧道名称
      remote_port: 80
      subdomain: 你的域名前缀
      proto:
        http: 127.0.0.1:8088   此处必须是127.0.0.1,不然报url超时
    httpstun:
      remote_port: 443
      subdomain: 你的域名前缀
      proto:
        https: 127.0.0.1:8080
    tcptun:
      remote_port: 81
      proto:
        tcp: 127.0.0.1:81

转载:https://blog.csdn.net/huixinhan/article/details/104414200
查看评论
* 以上用户言论只代表其个人观点,不代表本网站的观点或立场