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

Ngrok 可以穿透本地域名吗?

  •  
  •   tlerbao · Oct 31, 2023 · 1249 views
    This topic created in 914 days ago, the information mentioned may be changed or developed.

    刚试用了一下免费的 Ngrok,还是挺方便实现内网穿透的

    我本地的项目都是以 xxxx.test 域名形式访问的

    试了一下 ngrok http xxx.test:80 是可以运行成功的

    但是访问 https://xx.ngrok-free.app/ 并不能访问到 xxx.test ,

    是要收费版才行吗?

    3 replies    2023-11-01 19:39:56 +08:00
    MLawliet
        1
    MLawliet  
       Nov 1, 2023

    --host-header=rewrite
    试试
    tlerbao
        2
    tlerbao  
    OP
       Nov 1, 2023
    @MLawliet

    不行,加了也不行
    tlerbao
        3
    tlerbao  
    OP
       Nov 1, 2023
    @MLawliet 不对好像可以了 这个命令具体的含义是什么?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2351 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 15:44 · PVG 23:44 · LAX 08:44 · JFK 11:44
    ♥ Do have faith in what you're doing.