网络穿透工具--钉钉HTTP穿透


官方网站:https://ding-doc.dingtalk.com/doc#/kn6zg7/hb7000

内网穿透工具可以实现将一个公网域名映射到本地的localhost域名。

 

下载工具:

git clone https://github.com/open-dingtalk/pierced.git

mac:

cd mac_64
chmod 777 ./ding
./ding -config=./ding.cfg -subdomain=abcde 8080

Windows:

cd windows_64
ding -config=./ding.cfg -subdomain=abcde 8080

启动完客户端后,你访问http://abcde.vaiwan.com/xxxxx都会映射到 http://127.0.0.1:8080/xxxxx

修改abcde 为你自己想要的域名,8080为你自己的端口

注:

1.你需要访问的域名是http://abcde.vaiwan.com/xxxxx 而不是http://abcde.vaiwan.com:8080/xxxxx

2.你启动命令的subdomain参数有可能被别人占用,尽量不要用常用字符,可以用自己公司名的拼音,例如:alibaba、dingding等。

3.可以在本地起个http-server服务,放置一个index.html文件,然后访问http://abcde.vaiwan.com/index.html测试一下。

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM