python-ngrok
python-ngrok copied to clipboard
对配置文件有些不理解
python python-ngrok.py ngrok.config 配置lport为8090,rport为8090,实际tomcat也使用8090。但是访问时只能通过 【域名:80】成功访问。是配置文件没有生效还是配置不正确?建议在配置文件增加注释,提升易用性。 感谢。
建议用支持utf8编码格式编辑
{ "server": { "host": "tunnel.qydev.com", "port": 4443, "bufsize": 1024 }, "client": [ { "protocol": "tcp", "hostname": "", "subdomain": "", "rport": 8090, "lhost": "127.0.0.1", "lport": 8090 } ] }