mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #4419] Remote node inbound ports conflict #3017
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#3017
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 @Janvar58 on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4419
Describe the bug
When adding multiple remote nodes, any inbound that uses the same port as an inbound on another remote node does not appear in the inbound list.
Example: if both nodes have inbounds on ports 443 or 8443, only the inbounds from the first node are shown.
How to repeat the problem?
Add a remote node (Node A) with inbounds on ports 443 and 8443.
Add a second remote node (Node B) with inbounds also on ports 443 and 8443.
Open the inbound list on the central server.
Only Node A’s inbounds are shown. Node B’s inbounds are missing.
Change Node B’s ports (e.g. 443 → 442, 8443 → 8442) — they immediately appear.
Change them back to 443/8443 — they disappear again.
Expected action
All remote node inbounds should be displayed, even when ports overlap, because nodes run on different servers and do not conflict.
Received action
Inbounds on the same ports (443/8443) from additional remote nodes are hidden and do not appear in the inbound list.
3x-ui Version
3.0.2
Xray-core Version
26.4.25
Checklist
@SomeBytee commented on GitHub (May 16, 2026):
Hi , i ran into the same issue , i hope it would be fixed in the next version ( if it's even possible ) . this will make the Node integreation more flexible and will prevent some issues regarding port mapping on different nodes. for now i just had to change ports on my other servers and make sure it is not going to be the same as others
@wah2233 commented on GitHub (May 16, 2026):
Temporary fix method: change back to 443/8443 on the central server, it can keep them appearing
@SomeBytee commented on GitHub (May 16, 2026):
Yes , you are right , creating/changing an inbound with the same port after Node is deployed is the way for now
@mooronsi commented on GitHub (May 24, 2026):
The inbounds table has a global UNIQUE constraint on tag
All nodes generate the same tag for the same port (e.g. inbound-443)
Only the first node inbound gets saved, the rest silently fail on insert due to a UNIQUE violation
Maybe change unique index from tag to tag and node_id?
@scioner commented on GitHub (May 25, 2026):
3.1.0 still have this issue, at least for SQLite db.
@hobbes3 commented on GitHub (May 25, 2026):
Oh, so is this why I'm missing a (VLESS) inbound from my remote node?
Both my main and remote nodes have 2 inbounds: VLESS and Hysteria on port 443. But I only see 3 total inbound (2 local and 1 remote Hysteria). It's not showing the remote inbound VLESS port 443.
Main node:
Remote node (
hong-kong):@hobbes3 commented on GitHub (May 26, 2026):
Note that if you use this "hack", you may get a client with ghost inbounds (with just id numbers, not name) and it becomes undeletable/unmodifiable:
may be similar to issue #4149.