在此之前贞奋,我一直用ngrok抱究,自己也總結過使用ngrok一分鐘實現(xiàn)內(nèi)網(wǎng)穿透,簡單的將本地服務映射成公網(wǎng)訪問的地址铝条,反正我是用不了1分鐘糖荒。
今天偶然看到一篇文章完敗ngrok?一鍵開啟內(nèi)網(wǎng)穿透神器serveo贪惹,這次又顛覆了我的認知,于是決定花1秒鐘體驗下寂嘉。
真的是1秒鐘哦奏瞬,看看命令:
Last login: Fri Aug 9 08:28:43 on console
? ~ ssh -R 80:localhost:3000 serveo.net
The authenticity of host 'serveo.net (159.89.214.31)' can't be established.
RSA key fingerprint is SHA256:07jcXlJ4SkBnyTmaVnmTpXuBiRx2+Q2adxbttO9gt0M.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'serveo.net,159.89.214.31' (RSA) to the list of known hosts.
Forwarding HTTP traffic from https://vilicus.serveo.net
Press g to start a GUI session and ctrl-c to quit.
訪問試試:
serveo
果真六六六~~~~
以后就用這個了。
其他高階使用用的時候上官網(wǎng)查詢泉孩,如果我用到了我再完善這篇硼端。