mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3630] تداخل پورت metrics (127.0.0.1:11111) بین نسخه Docker و نصب معمولی x-ui #2436
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2436
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sobix11228 on GitHub (Jan 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3630
Describe the bug
سلام
در صورت اجرای همزمان پنل x-ui بهصورت معمولی (غیرداکر) و نسخه Docker روی یک سرور،
هر دو بهصورت پیشفرض از پورت داخلی زیر برای metrics استفاده میکنند:
127.0.0.1:11111
از آنجایی که نسخه Docker با network_mode: host اجرا میشود،
این پورت بین تمام سرویسهای سرور مشترک است و باعث تداخل میشود.
نتیجه این تداخل:
برای رفع مشکل، مجبور شدم بهصورت دستی بخش metrics را از Xray Config حذف کنم
یا پورت آن را تغییر دهم.
به نظر میرسد این یک مشکل طراحی در نسخه Docker باشد و برای تمام کاربرانی
که بیش از یک پنل x-ui روی یک سرور دارند، رخ خواهد داد.
پیشنهادها:
یا
یا
ممنون میشوم بررسی و اصلاح شود.
How to repeat the problem?
Expected action
Xray should start normally without crashing and without port conflicts when running Docker and non-Docker versions together.
Received action
Xray fails to start properly and keeps crashing due to port conflict on 127.0.0.1:11111.
The service status shows Running, but users remain offline and traffic usage stays at 0.
3x-ui Version
2.8.6
Xray-core Version
25.12.8
Checklist
@MHSanaei commented on GitHub (Jan 5, 2026):
روی هر سرور یک نسخه فقط نصب کنید