[GH-ISSUE #3895] IP restrictions of clients #2632

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

Originally created by @almen2006 on GitHub (Mar 6, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3895

Describe the bug

IP problem still remains. version 2.8.11

 WARNING - X-UI: [LIMIT_IP] Failed to remove user 111111111: failed to remove user: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:10085: connect: connection refused"

How to repeat the problem?

After the update, the old bend remained.

Expected action

No response

Received action

No response

3x-ui Version

2.8.11

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 @almen2006 on GitHub (Mar 6, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3895 ### Describe the bug IP problem still remains. version 2.8.11  WARNING - X-UI: [LIMIT_IP] Failed to remove user 111111111: failed to remove user: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:10085: connect: connection refused" ### How to repeat the problem? After the update, the old bend remained. ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 2.8.11 ### 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:51 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@HamidRezaSZ commented on GitHub (Mar 12, 2026):

I changed the port of the "api" tag inbound to 10085. It didn’t return any errors, but I’m not sure whether it’s actually working.

Image Image
<!-- gh-comment-id:4045535747 --> @HamidRezaSZ commented on GitHub (Mar 12, 2026): I changed the port of the "api" tag inbound to 10085. It didn’t return any errors, but I’m not sure whether it’s actually working. <img width="502" height="631" alt="Image" src="https://github.com/user-attachments/assets/89d1257e-b1f3-458c-83ba-876d86540d8a" /> <img width="1274" height="748" alt="Image" src="https://github.com/user-attachments/assets/5d8266da-e442-4a80-9593-d1499525dbcc" />
Author
Owner

@aekozhevnikov commented on GitHub (Mar 12, 2026):

I changed the port of the "api" tag inbound to 10085. It didn’t return any errors, but I’m not sure whether it’s actually working.

Image Image

I also did that, but I'm still able to connect from two devices despite the IP limit being 1

<!-- gh-comment-id:4048810742 --> @aekozhevnikov commented on GitHub (Mar 12, 2026): > I changed the port of the "api" tag inbound to 10085. It didn’t return any errors, but I’m not sure whether it’s actually working. > > <img alt="Image" width="502" height="631" src="https://private-user-images.githubusercontent.com/79264777/562160332-89d1257e-b1f3-458c-83ba-876d86540d8a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzMzMzc0NDIsIm5iZiI6MTc3MzMzNzE0MiwicGF0aCI6Ii83OTI2NDc3Ny81NjIxNjAzMzItODlkMTI1N2UtYjFmMy00NThjLTgzYmEtODc2ZDg2NTQwZDhhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzEyVDE3MzkwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUxMDQ5YWFkNjI2ZTJkZTAwODJiY2U0MGIxYmMzNGZmYjk2YzJhNGJlYWI2ZmZmZjAxNzQxYzVmNzI5YjY0MjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._uUpQqRGXLvVMaggrKVmiyw7YDGdP3QTXBCthRDckAk"> <img alt="Image" width="1274" height="748" src="https://private-user-images.githubusercontent.com/79264777/562161016-5d8266da-e442-4a80-9593-d1499525dbcc.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzMzMzc0NDIsIm5iZiI6MTc3MzMzNzE0MiwicGF0aCI6Ii83OTI2NDc3Ny81NjIxNjEwMTYtNWQ4MjY2ZGEtZTQ0Mi00YTgwLTk1OTMtZDE0OTk1MjVkYmNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzEyVDE3MzkwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5MGU3NzRiMjY0ZmVmMDcyZTc3ZmYzYTI3YmQ1MmQzY2MxYjU3NDc5YjZiYjU4ZDY3YTdmNmVhOWMzMWYyNjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JaAnuyQ1_jmGrujEDKCs8WWelqZpiPMn2EATV67X02s"> I also did that, but I'm still able to connect from two devices despite the IP limit being 1
Author
Owner

@ostryj77-code commented on GitHub (Mar 13, 2026):

I checked, the IP blocking does not work. In the log, a notification about disabling the old IP address.

Image

<!-- gh-comment-id:4052906584 --> @ostryj77-code commented on GitHub (Mar 13, 2026): I checked, the IP blocking does not work. In the log, a notification about disabling the old IP address. ![Image](https://github.com/user-attachments/assets/e8b3da7a-f163-43d2-b608-0b82ffffa9d8)
Author
Owner

@Milagro-etc commented on GitHub (Mar 13, 2026):

Updated from version 2.8.9 to 2.8.11, now the same error as the problem applicant(

<!-- gh-comment-id:4053656574 --> @Milagro-etc commented on GitHub (Mar 13, 2026): Updated from version 2.8.9 to 2.8.11, now the same error as the problem applicant(
Author
Owner

@HamidRezaSZ commented on GitHub (Mar 13, 2026):

In this commit, the log format was changed, but the x-ui.sh file was not updated to reflect the new Fail2Ban log parsing format. This commit fixes that issue.

<!-- gh-comment-id:4053711077 --> @HamidRezaSZ commented on GitHub (Mar 13, 2026): In [this](https://github.com/MHSanaei/3x-ui/commit/d8fb09faaeeebe34b57f1c26aa1ab8b529327989) commit, the log format was changed, but the x-ui.sh file was not updated to reflect the new Fail2Ban log parsing format. [This](https://github.com/MHSanaei/3x-ui/commit/258b08fff35fc6c445b77149996f6dd9f7b4a789) commit fixes that issue.
Author
Owner

@ostryj77-code commented on GitHub (Mar 14, 2026):

Verified? Is it working?

<!-- gh-comment-id:4059918374 --> @ostryj77-code commented on GitHub (Mar 14, 2026): Verified? Is it working?
Author
Owner

@HamidRezaSZ commented on GitHub (Mar 14, 2026):

Verified? Is it working?

Yes, the Fail2Ban now is working with the latest version.

Image
<!-- gh-comment-id:4060623453 --> @HamidRezaSZ commented on GitHub (Mar 14, 2026): > Verified? Is it working? Yes, the Fail2Ban now is working with the latest version. <img width="1280" height="800" alt="Image" src="https://github.com/user-attachments/assets/5059a775-eece-46d5-b24d-874c75f548af" />
Author
Owner

@Milagro-etc commented on GitHub (Mar 15, 2026):

Verified? Is it working?

The x-ui menu has been updated, but the error repeats anyway.

Image

<!-- gh-comment-id:4062746445 --> @Milagro-etc commented on GitHub (Mar 15, 2026): > Verified? Is it working? The x-ui menu has been updated, but the error repeats anyway. ![Image](https://github.com/user-attachments/assets/8dcccf46-537c-45e0-b85d-1e56a71cb61c)
Author
Owner

@ostryj77-code commented on GitHub (Mar 15, 2026):

Подтверждено? Работает?

Меню x-ui было обновлено, но ошибка всё равно повторяется.

Image

Image Change the port to 10085
<!-- gh-comment-id:4063282832 --> @ostryj77-code commented on GitHub (Mar 15, 2026): > > Подтверждено? Работает? > > Меню x-ui было обновлено, но ошибка всё равно повторяется. > > ![Image](https://github.com/user-attachments/assets/8dcccf46-537c-45e0-b85d-1e56a71cb61c) <img width="502" height="631" alt="Image" src="https://github.com/user-attachments/assets/6fe6fa92-52db-457b-8fa2-974ebfa16c93" /> Change the port to 10085
Author
Owner

@Milagro-etc commented on GitHub (Mar 16, 2026):

Change the port to 10085
Working

<!-- gh-comment-id:4065325456 --> @Milagro-etc commented on GitHub (Mar 16, 2026): Change the port to 10085 Working
Author
Owner

@aekozhevnikov commented on GitHub (Mar 18, 2026):

Will a new version of the Docker image be released?

<!-- gh-comment-id:4084195773 --> @aekozhevnikov commented on GitHub (Mar 18, 2026): Will a new version of the Docker image be released?
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#2632
No description provided.