Closed fizsef closed 2 months ago
Probably because you are using port 443 for another service?
Probably because you are using port 443 for another service?
No, I'm not busy, I don't even know how to occupy it.
Hi @fizsef, it seems that something on your device may be using that port.
What do you get for the following command?
sudo netstat -tunlp | grep :443
What do you get for the following command?
sudo netstat -tunlp | grep :443
@fizsef it seems you have the OpenWrt LuCI interface running on port 443.
To change the port for AdGuard Home on OpenWrt, you can follow these steps:
/etc/AdGuardHome.yaml
or /opt/AdGuardHome/AdGuardHome.yaml
, depending on how AdGuard Home was installed.443
to a different port number that is not in use by another service. For example, you could use 8080
or 5353
./etc/init.d/AdGuardHome
restart
or by rebooting your router.Make sure the new port you choose does not conflict with other services and is not blocked by your firewall settings.
If you’re using LuCI, you may also need to adjust the firewall settings to allow traffic on the new port. Navigate to Network → Firewall → Traffic Rules and add a rule for the new port.
@fizsefкажется, у вас интерфейс OpenWrt LuCI работает на порту 443.
Чтобы изменить порт для AdGuard Home в OpenWrt, вы можете выполнить следующие действия:
- Получите доступ к маршрутизатору OpenWrt через SSH или через веб-интерфейс LuCI.
- Отредактируйте файл конфигурации AdGuard Home. Этот файл обычно находится по адресу
/etc/AdGuardHome.yaml
или/opt/AdGuardHome/AdGuardHome.yaml
в зависимости от того, как был установлен AdGuard Home.- Найдите раздел в файле конфигурации, в котором указаны настройки порта. Это будет выглядеть примерно так:
bind_host: 0.0.0.0 bind_port: 443
- Измените
bind_port
значение443
на другой номер порта, который не используется другой службой. Например, вы можете использовать8080
или5353
.- Сохраните изменения в файле конфигурации.
- Перезапустите AdGuard Home, чтобы применить новые настройки. Вы можете сделать это, выполнив команду
/etc/init.d/AdGuardHome
restart
или перезагрузив маршрутизатор.Убедитесь, что выбранный вами новый порт не конфликтует с другими службами и не заблокирован настройками брандмауэра.
Если вы используете LuCI, вам также может потребоваться настроить параметры брандмауэра, чтобы разрешить трафик через новый порт. Перейдите в «Сеть» → «Брандмауэр» → «Правила трафика» и добавьте правило для нового порта.
I don't use port 443 in my yaml file. I have 53 registered.
That is your DNS listening port, not the HTTPS listening port.
Could you please post the rest of your yaml, redacting any private information?
That is your DNS listening port, not the HTTPS listening port.
Could you please post the rest of your yaml, redacting any private information?
`http: pprof: port: 6060 enabled: false address: 0.0.0.0:3000 session_ttl: 720h users:
Try stopping AdGuard Home, setting port_https
to a port that's not being used, then start AdGuard Home.
Try stopping AdGuard Home, setting
port_https
to a port that's not being used, then start AdGuard Home.
You can see that tls is disabled, how can it use port 443?
I do not know whether it tries to establish that port regardless of whether it's enabled or not. I see your logic, but it's worth a try.
I do not know whether it tries to establish that port regardless of whether it's enabled or not. I see your logic, but it's worth a try.
Yes, if I change this port value, the error disappears. But at the same time, the HTTPS port changes on the Encryption Settings page.
Yes, that's correct. You just changed the HTTPS port removing the conflict between two services trying to use the same port.
If you would like the keep AdGuard Home's HTTPS port the same, you would have to change the port LuCI uses for HTTPS.
Да, это правильно. Вы только что изменили порт HTTPS, устранив конфликт между двумя службами, пытающимися использовать один и тот же порт.
Если вы хотите, чтобы HTTPS-порт AdGuard Home остался прежним, вам придется изменить порт, который LuCI использует для HTTPS.
And where does Luci use this port? I did not configure port 443 in Luci.
Prerequisites
[X] I have checked the Wiki and Discussions and found no answer
[X] I have searched other issues and found no duplicates
[X] I want to report a bug and not ask a question or ask for help
[X] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, ARM64
Installation
GitHub releases or script from README
Setup
On a router, DHCP is handled by the router
AdGuard Home version
107.48
Action
In the menu, select Settings-Encryption settings
Expected result
without error
Actual result
An error appears - "Error: control/tls/validate | port 443 is not available, cannot enable HTTPS on it | 400"
Additional information and/or screenshots