Zaner
V2EX  ›  问与答

求助:本地开启代理访问 AWS EC2 上的 Node.js 接口时出现 502

  •  
  •   Zaner · Sep 17, 2025 · 891 views
    This topic created in 296 days ago, the information mentioned may be changed or developed.
    我有一个用 Node.js 编写的服务,通过 Docker 容器部署在 AWS 上。
    在本地开发环境里,只有 关闭系统代理 才能正常调用接口;一旦开启代理,请求就会报 502 失败。
    代理本身没问题,上外网速度也很快。
    我是前端出身,对后端和网络配置不太熟,请问可能是什么原因?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2937 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 04:26 · PVG 12:26 · LAX 21:26 · JFK 00:26
    ♥ Do have faith in what you're doing.