V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
liiihhhh
V2EX  ›  问与答

自建 ngrok 服务器的问题,

  •  
  •   liiihhhh · Oct 17, 2016 · 2631 views
    This topic created in 3484 days ago, the information mentioned may be changed or developed.
    我添加两条 A 记录: ngrok.xxx.com 和*.ngrok.xxx.com.
    但是现在 xxx.com 所指向的 ip 80 端口已经有了博客, 能让 ngrok 制定端口吗
    4 replies    2016-10-17 16:37:34 +08:00
    letitbesqzr
        1
    letitbesqzr  
       Oct 17, 2016   ❤️ 1
    可以指定 -httpAddr=":8081" -httpsAddr=":8082"

    不建议用 ngrok , github 上 :

    DO NOT RUN THIS VERSION OF NGROK (1.X) IN PRODUCTION. Both the client and server are known to have serious reliability issues including memory and file descriptor leaks as well as crashes. There is also no HA story as the server is a SPOF

    然而 ngrok 2.0 并没有开源..

    推荐: https://github.com/fatedier/frp ngrok 的功能都能实现,并且更强大
    line
        2
    line  
       Oct 17, 2016
    我的 ngrok 崩溃过。 打算换其它的试下。
    hteen
        3
    hteen  
       Oct 17, 2016
    nginx 反向代理解决即可,我服务器也是这样
    tonghuashuai
        4
    tonghuashuai  
       Oct 17, 2016
    貌似只有 ssh 可以指定远程端口, http 不可以……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2360 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 15:44 · PVG 23:44 · LAX 08:44 · JFK 11:44
    ♥ Do have faith in what you're doing.