AdGuardHome
AdGuardHome copied to clipboard
address already in use
Admin web interface Listening interface All Interfaces Harbor 80 listen tcp 0.0.0.0:80: bind: address already in use Your AdGuard Home administrator web interface will be available at the following addresses: http://127.0.0.1/ http://172.17.0.1/ http://192.168.0.48/
http://::1/ DNS server Listening interface All Interfaces Harbor 53 listen udp 0.0.0.0:53: bind: address already in use Port 53 is often occupied by the "DNSStubListener" or "systemd-resolved" services. Please read this instruction to know how to solve this problem. You will need to configure your devices and router to use the DNS server on the following addresses: 127.0.0.1 172.17.0.1 192.168.0.48
::1 Static IP address AdGuard Home is a server, so it needs a static IP address to work properly. Otherwise, at some point, your router might assign a different IP address to this device. I am using Pihole on the raspberry pire 2b and would like to add adGuard too How to do ?
@nahaczpiotr, hello. Could you please give a few clarifications?
- Which OS hosts the AdGuard Home?
- How did you install AdGuard Home?
- What version of AdGuaard Home is used?
@nahaczpiotr
Admin web interface Listening interface All Interfaces Harbor 80 listen tcp 0.0.0.0:80: bind: address already in use Your AdGuard Home administrator web interface will be available at the following addresses: http://127.0.0.1/ http://172.17.0.1/ http://192.168.0.48/
http://::1/ DNS server Listening interface All Interfaces Harbor 53 listen udp 0.0.0.0:53: bind: address already in use Port 53 is often occupied by the "DNSStubListener" or "systemd-resolved" services. Please read this instruction to know how to solve this problem. You will need to configure your devices and router to use the DNS server on the following addresses: 127.0.0.1 172.17.0.1 192.168.0.48
::1 Static IP address AdGuard Home is a server, so it needs a static IP address to work properly. Otherwise, at some point, your router might assign a different IP address to this device. I am using Pihole on the raspberry pire 2b and would like to add adGuard too How to do ?
using a terminal what is the output from :
netstat -nlp | grep 80
I ask because it sounds to me like you have an application already listening on port 80, If you expect adguardhome to use this port, then you need to disable the other application first.
The same goes for what ever you already have active on port 53.
netstat -nlp | grep 53
whatever it says is active on port 53, you must disable before adguardhome can be used. (or specify a different port for adguardhome to use.)
AdGuardHome wants to be master of all ports it listens on , and so does PiHole. So all-in-all, if you are using PiHole, you must disable it first, if you expect to use AdGuardHome on those same ports. You cannot have Two DNS solutions using the same ports on the same device. It is that simple, this is a miss-configuration on your end.
cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Download ans install AdG sudo apt update sudo apt full-upgrade sudo reboot
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
After i use http://192.168.048:3000 by brave browser My raspberry Pi has a fixed address192. 168.0.48
Is last version of adguard home /opt/AdGuardHome/AdGuardHome -s status 2022/02/08 08:23:00 [info] service: control action: status 2022/02/08 08:23:00 [info] service: running 2022/02/08 08:23:00 [info] service: action status has been done successfully on linux-systemd
opt/AdGuardHome/AdGuardHome --version AdGuard Home, version v0.107.2
Le lun. 7 févr. 2022 à 11:36, Eugene @.***> a écrit :
@nahaczpiotr https://github.com/nahaczpiotr, hello. Could you please give a few clarifications?
- Which OS hosts the AdGuard Home?
- How did you install AdGuard Home?
- What version of AdGuaard Home is used?
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/4259#issuecomment-1031318269, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTVWNWNVHVNLJMFB7LRTW3UZ6ODZANCNFSM5NWU6UZQ . You are receiving this because you were mentioned.Message ID: @.***>
Ok thx I don't can use pihole and adguard at the same time?
Le mer. 9 févr. 2022 à 07:02, Tanner Anderson @.***> a écrit :
You won't be able to use AdGuard Home and Pihole on the same device. You will need to disable Pihole to give Adguard access to the required ports.
— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/4259#issuecomment-1033383132, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTVWNX65IL6TCA7N4JNQ6TU2H7OLANCNFSM5NWU6UZQ . You are receiving this because you were mentioned.Message ID: @.***>
@nahaczpiotr If you get both running, which one will work? Will it be adguard or pihole trying to block your ads?
You can't use any two applications on the same port. See any server ever, such as apache and nginx, common web servers.
May I know how to solve this issue in openwrt on virtual box linux os?
@Junkitkit Either run AdGuard Home or PiHole, not both on the same box.
Thank you.