ngrok在调试Open edX中的应用
文章目录
在去年的一次黑客最喜欢的工具投票中,ngrok位列第五
ngrok is a reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service. ngrok captures and analyzes all traffic over the tunnel for later inspection and replay.
关于ngrok我此前写过两篇文章:
#查看数据库信息 ###将mongo映射出去
./ngrok -config ./ngrok.cfg -proto=tcp 27017
ngrok会将本地端口映射到外网,就像这样:
从中得到外网地址:xxx.xxx.xxx
在本地输入:mongo xxx.xxx.xxx
你就可以访问啦:
或是使用rebomongo,不需要做任何配置
###将mysql映射出去
./ngrok -config ./ngrok.cfg -proto=tcp 3306
mycli -h xxx.xxx.xxx -P xxx -u root
###run devstack
|
|
以上两条命令使用不同的tmux窗口打开
###run IPython notebook 参考use ipython notebook in edx dogwood
文章作者 种瓜
上次更新 2016-02-02