• 请不要在回答技术问题时复制粘贴 AI 生成的内容
junwind
V2EX  ›  程序员

问一下大家啊,这种是如何访问到本地的?

  •  
  •   junwind · Oct 8, 2021 · 2427 views
    This topic created in 1715 days ago, the information mentioned may be changed or developed.

    本地环境是虚拟机 centos 中

    外网 ip.html?url=http://本地 ip:9999

    如何访问到本地的资源呢

    2 replies    2021-10-08 17:10:35 +08:00
    AoEiuV020
        1
    AoEiuV020  
       Oct 8, 2021
    前端 js 解析处理的,
    coolan
        2
    coolan  
       Oct 8, 2021
    前端拿到 url 以后,向服务器发起请求,由服务器代理访问这个 url 。具体直接看 html 里对于 url 参数的处理就行了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2788 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 13:44 · PVG 21:44 · LAX 06:44 · JFK 09:44
    ♥ Do have faith in what you're doing.