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

ngrok 能否用于转发 vnc 服务?

  •  
  •   Emory_M · Jan 14, 2015 · 6475 views
    This topic created in 4126 days ago, the information mentioned may be changed or developed.
    用ngrok转发vnc的tcp请求,使用VNC客户端提示输入密码,输入之后就没有响应了
    ngrok日志里显示:

    [01/14/15 11:13:10] [DEBG] [prv:6d48430] New connection to: 192.168.1.11:5900
    [01/14/15 11:13:10] [INFO] [prv:6d48430] Joined with connection pxy:1bb258bf
    [01/14/15 11:13:11] [DEBG] [pxy:4710a1df] New connection to: 96.126.125.171:443
    [01/14/15 11:13:11] [DEBG] [pxy:4710a1df] Writing message: {"Type":"RegProxy","Payload":{"ClientId":"xxxxxxxx"}}
    [01/14/15 11:13:11] [DEBG] [pxy:4710a1df] Waiting to read message
    [01/14/15 11:13:16] [DEBG] [pxy:1bb258bf] Copied 12 bytes to prv:6d48430
    [01/14/15 11:13:16] [DEBG] [pxy:1bb258bf] Closing
    [01/14/15 11:13:16] [DEBG] [prv:6d48430] Closing

    [01/14/15 11:13:16] [WARN] [prv:6d48430] Copied 32 bytes to pxy:1bb258bf before failing with error read tcp 192.168.100.11:5900: use of closed network connection

    [01/14/15 11:13:17] [DEBG] [pxy:4710a1df] Reading message with length: 98
    Supplement 1  ·  Jan 15, 2015
    原因和网络环境质量有关系。
    同时测试了VM开VNC的5900端口 和 Windows远程控制3389端口,通过ngrok转发,Windows远程控制会流畅很多
    2 replies    2016-12-29 17:24:01 +08:00
    littlewey
        1
    littlewey  
       Dec 16, 2015
    thanks for sharing
    xiaolongyuan
        2
    xiaolongyuan  
       Dec 29, 2016
    楼主是怎么用的? 我转发 连接不上 用 vnc 客户端
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2360 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:44 · PVG 23:44 · LAX 08:44 · JFK 11:44
    ♥ Do have faith in what you're doing.