Skip to content

[Feature] The API endpoint supports other addresses in the local area network #439

Closed

Description

@SpringYear

场景描述

http supports other local area network addresses, not just 127.0.0.1

建议解决方案

http supports other local area network addresses, not just 127.0.0.1

附加说明

No response

Activity

  1. AmintaCCCP commented on Oct 8, 2026

    @AmintaCCCP
    Owner

    已支持局域网地址的 API 接入点并放行 HTTP 请求(相关实现见 PR #441):

    • 支持的地址范围:
      • RFC 1918 私有 IPv4 地址(10.0.0.0/8、172.16.0.0/12、192.168.0.0/16)
      • CGNAT / Tailscale 网段(100.64.0.0/10)
      • IPv6 私有及链路本地地址(ULA fc00::/7、Link-local fe80::/10)
      • 局域网主机名 / mDNS 域名(如 *.local、*.lan、*.home 及单标签主机名如 http://ollama:11434)
    • 请求放行:对上述本地和局域网接入点已允许直接使用 HTTP 协议发起请求,服务端代理亦已放行对应局域网地址。

    如需提前体验,可以从本次构建的 GitHub Actions 页面底部的 Artifacts 区域下载对应平台的编译包:
    https://github.com/AmintaCCCP/GithubStarsManager/actions/runs/37767951730

  2. added 2 commits that reference this issue on Oct 10, 2026
    fe20ac2
    3270e26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreview: lowghfind author score; see https://ghfind.com

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions