Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对配置文件有些不理解 #19

Open
nongxl opened this issue Mar 14, 2019 · 1 comment
Open

对配置文件有些不理解 #19

nongxl opened this issue Mar 14, 2019 · 1 comment

Comments

@nongxl
Copy link

nongxl commented Mar 14, 2019

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

@hauntek
Copy link
Owner

hauntek commented Mar 16, 2019

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants