BMPixel
V2EX  ›  问与答

在手机上获得电脑的局域网 ip 有什么好办法

  •  
  •   BMPixel · Oct 21, 2022 · 1584 views
    This topic created in 1306 days ago, the information mentioned may be changed or developed.

    我想通过校园网让 iPad 连到 Mac 上的 VScode-server ,这需要电脑的 ip 。分配的 ip 会动态变化,但是校园网申请静态 ip 很麻烦。请问有无方法让我随时可以获得电脑的 ip 地址?
    让电脑时刻向局域网广播,或者把自己的 ip 地址同步到我的服务器上都是可以的方案,但是不知道有没有更加省事或者优雅的方法🧐

    Supplement 1  ·  Oct 21, 2022

    谢谢各位 问题解决了😚用cloudflare API写了个ddns脚本,把一个域名解析到我的内网ip上了

    4 replies    2022-10-21 18:49:54 +08:00
    WinkeyLin
        1
    WinkeyLin  
       Oct 21, 2022
    DDNS ,解析到内网 IP ,理论可行
    fisherwei
        2
    fisherwei  
       Oct 21, 2022
    ddns 呀

    更新记录的时候,用内网 ip 更新
    Shatyuka
        3
    Shatyuka  
       Oct 21, 2022 via iPhone
    DDNS 花生壳之类的
    cxtrinityy
        4
    cxtrinityy  
       Oct 21, 2022 via Android
    zerotier
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4736 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 01:08 · PVG 09:08 · LAX 18:08 · JFK 21:08
    ♥ Do have faith in what you're doing.