mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-25 03:54:47 +03:00
83535c74e6
The web server listens on XUI_PORT when it is set and valid, but the AmneziaWG forwardedPorts conflict check read only the stored webPort. With XUI_PORT set, a forward on the real panel port passed the check and could never bind, while a forward on the unused stored port was refused. The XUI_PORT-over-webPort rule now lives in SettingService.GetListenPort, which both the web server and the conflict check use.