[GH-ISSUE #3869] Bug report - Port Conflict #2619

Closed
opened 2026-10-31 20:26:45 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @MRAbbasi1 on GitHub (Feb 27, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3869

Describe the bug

Hello,

There is a bug when assigning a port to a subscription path. If the selected port is already in use by an inbound and this is overlooked, a conflict occurs. Although an error is logged, the inbound can still be disrupted.

It would be better to implement a validation check on both the inbound configuration side and the subscription settings side to verify port availability before applying changes, in order to prevent the inbound from becoming non-functional.

How to repeat the problem?

  1. Create an inbound using a specific port (e.g., 12345)
  2. Navigate to Panel Settings → Subscription Settings
  3. Assign the same port (12345) to the subscription path
  4. Apply/save the settings

Expected action

  • No validation error is displayed
  • A port conflict occurs
  • The inbound created stops working properly

Received action

No response

3x-ui Version

26.1.31

Xray-core Version

No response

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @MRAbbasi1 on GitHub (Feb 27, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3869 ### Describe the bug Hello, There is a bug when assigning a port to a subscription path. If the selected port is already in use by an inbound and this is overlooked, a conflict occurs. Although an error is logged, the inbound can still be disrupted. It would be better to implement a validation check on both the inbound configuration side and the subscription settings side to verify port availability before applying changes, in order to prevent the inbound from becoming non-functional. ### How to repeat the problem? 1. Create an inbound using a specific port (e.g., 12345) 2. Navigate to Panel Settings → Subscription Settings 3. Assign the same port (12345) to the subscription path 4. Apply/save the settings ### Expected action - No validation error is displayed - A port conflict occurs - The inbound created stops working properly ### Received action _No response_ ### 3x-ui Version 26.1.31 ### Xray-core Version _No response_ ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:26:45 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
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
MHSanaei/3x-ui#2619
No description provided.