[PR #313] [CLOSED] use host.docker.internal instead of 127.0.0.1 #333

Closed
opened 2026-02-27 07:18:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/313
Author: @zhoukekestar
Created: 2/8/2026
Status: Closed

Base: mainHead: main


📝 Commits (3)

  • 7712df8 fix: add global config
  • 38ef3ba fix: use host instead of docker
  • d727e24 Merge branch 'justlovemaki:main' into main

📊 Changes

6 files changed (+6 additions, -6 deletions)

View changed files

📝 README-JA.md (+1 -1)
📝 README-ZH.md (+1 -1)
📝 README.md (+1 -1)
📝 configs/config.json.example (+1 -1)
📝 src/core/config-manager.js (+1 -1)
📝 static/components/section-tutorial.html (+1 -1)

📄 Description

一般情况下,代理都是使用的主机 host 代理,而不是 docker 容器本身的代理,所以,需要使用 host.docker.internal 而非 127.0.0.1,避免误解


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/justlovemaki/AIClient-2-API/pull/313 **Author:** [@zhoukekestar](https://github.com/zhoukekestar) **Created:** 2/8/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`7712df8`](https://github.com/justlovemaki/AIClient-2-API/commit/7712df83321314ebd0f7fe20501888d6522af154) fix: add global config - [`38ef3ba`](https://github.com/justlovemaki/AIClient-2-API/commit/38ef3ba9a500539803e772a1fe1f828c1c327336) fix: use host instead of docker - [`d727e24`](https://github.com/justlovemaki/AIClient-2-API/commit/d727e241a8c12e727308fbdf5cd1b9a06b63c10b) Merge branch 'justlovemaki:main' into main ### 📊 Changes **6 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `README-JA.md` (+1 -1) 📝 `README-ZH.md` (+1 -1) 📝 `README.md` (+1 -1) 📝 `configs/config.json.example` (+1 -1) 📝 `src/core/config-manager.js` (+1 -1) 📝 `static/components/section-tutorial.html` (+1 -1) </details> ### 📄 Description 一般情况下,代理都是使用的主机 host 代理,而不是 docker 容器本身的代理,所以,需要使用 host.docker.internal 而非 127.0.0.1,避免误解 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:18:59 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#333
No description provided.