首先下载ngrok客户端:http ://ngrok.ciqiuwl.cn/
在Linux的上新建一个文件夹 mkdir /usr/local/xiaomiqiu
然后把文件解压到该目录下,重新命名
进入ngrok目录 cd ngrok
给执行授权chmod a+x ngrok
然后执行 ./ngrok -config=ngrok.cfg -subdomain xxx 80 xxx是你映射的前缀,80是你映射的端口。
首先下载ngrok客户端:http ://ngrok.ciqiuwl.cn/
在Linux的上新建一个文件夹 mkdir /usr/local/xiaomiqiu
然后把文件解压到该目录下,重新命名
进入ngrok目录 cd ngrok
给执行授权chmod a+x ngrok
然后执行 ./ngrok -config=ngrok.cfg -subdomain xxx 80 xxx是你映射的前缀,80是你映射的端口。