mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3640] ipv6 only binding #2444
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#2444
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 @Dmitry-Tcheban on GitHub (Jan 6, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3640
Describe the bug
I have a VPS with debian 13 and dual stack network (/proc/sys/net/ipv6/bindv6only=0, switching off in host ipv6 does not actually help)
I have old container with 2.5.2 and it works out the box and binds to ipv4
I have downloaded new 2.8.6 (2.8.7) and somehow xray binds only to ipv6, ie
sudo docker exec 3xui_app netstat -tulpn | grep :443
tcp 0 0 :::443
and proxy client does not actually work because it tries to work through ipv4
listen interface is set to 0.0.0.0, I have tried to move to ports mapping in yaml instead of hosts mode, I have spend 2 days trying different things... no luck
How to repeat the problem?
Expected action
sudo docker exec 3xui_app netstat -tulpn | grep :443
Received action
sudo docker exec 3xui_app netstat -tulpn | grep :443
tcp 0 0 :::443
3x-ui Version
2.8.6
Xray-core Version
25.12.8
Checklist
@salehghotbani commented on GitHub (Jan 6, 2026):
Exactly happened in ubuntu 24.04
@negartarh commented on GitHub (Jan 7, 2026):
and in Ubuntu 22
@Dmitry-Tcheban commented on GitHub (Jan 7, 2026):
Not sure it is OS specific problem. 2.5.2 image works just fine on this host
I have also tried to set additional env in yml. It did not hep neither, despite the fact env was propagated- I have checked that
@MrGnUm commented on GitHub (Jan 9, 2026):
Hello! Were you able to fix the issue?
I encountered the same problem—the panel suddenly stopped binding to IPv4.
@truer0man commented on GitHub (Feb 25, 2026):
Confirm same issue. version 2.8.10. Ubuntu 24.04.1 LTS
@SignFinder commented on GitHub (Apr 14, 2026):
It is normal behavior when dual-stack socket exists.
A listening socket that is bound to ::, i.e. any address IPv6 address (INADDR6_ANY), may or may not also listen to connections using IPv4.
I have checked v2.8.11 and despite there is not any ipv4 sockets in netstat (only ipv6) - it works with ipv4 well