内网穿透新章法 serveo

  |   0 评论   |   0 浏览

  非常非常适合临时对外演示的方案

  步骤如下
1.本地起一个测试的 Web 服务

1/Users/mac/venv/typeidea/bin/python /Users/mac/PycharmProjects/typeidea-env/typeidea/manage.py runserver 8000

  输出如下

1System check identified no issues (0 silenced).
2July 29, 2019 - 17:52:55
3Django version 2.2.3, using settings 'typeidea.settings.develop'
4Starting development server at http://127.0.0.1:8000/
5Quit the server with CONTROL-C.

  2.命令行执行

1ssh -R 80:127.0.0.1:8000 serveo.net

  image.png

  3.浏览器访问 https://frugi.serveo.net

  image.png

  是不是很方便,是不是很 easy

  据说是 ngrok 绝佳替代品

  [poll1564394372337]

  官网地址:

---------------------------------------------------------------
>> 博客地址:https://blog.mufengs.com
>> 邮箱地址:[email protected]
>> 微信帐号:Do8080
>> Github : https://github.com/mufengcoding
---------------------------------------------------------------