python-ngrok icon indicating copy to clipboard operation
python-ngrok copied to clipboard

对配置文件有些不理解

Open nongxl opened this issue 6 years ago • 1 comments

python python-ngrok.py ngrok.config 配置lport为8090,rport为8090,实际tomcat也使用8090。但是访问时只能通过 【域名:80】成功访问。是配置文件没有生效还是配置不正确?建议在配置文件增加注释,提升易用性。 感谢。

nongxl avatar Mar 14 '19 09:03 nongxl

建议用支持utf8编码格式编辑

{ "server": { "host": "tunnel.qydev.com", "port": 4443, "bufsize": 1024 }, "client": [ { "protocol": "tcp", "hostname": "", "subdomain": "", "rport": 8090, "lhost": "127.0.0.1", "lport": 8090 } ] }

hauntek avatar Mar 16 '19 08:03 hauntek