TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.25k stars 418 forks source link

Admin Panel Not Working #49

Closed marcussacana closed 5 years ago

marcussacana commented 5 years ago

For some reason I get ERR_CONNECTION_REFUSED when try the web admin panel.

The Log:

[2019-05-26 04:34:33 UTC] Logging started.
[2019-05-26 04:34:33 UTC] DNS Server config file was loaded: C:\Program Files (x86)\Technitium\DNS Server\config\dns.config
[2019-05-26 04:34:33 UTC] Loaded zone file: C:\Program Files (x86)\Technitium\DNS Server\config\1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.zone
[2019-05-26 04:34:33 UTC] Loaded zone file: C:\Program Files (x86)\Technitium\DNS Server\config\1.0.0.127.in-addr.arpa.zone
[2019-05-26 04:34:33 UTC] DNS Server is loading allowed zone file: C:\Program Files (x86)\Technitium\DNS Server\config\allowed.config
[2019-05-26 04:34:33 UTC] [127.0.0.1:53] [UDP] DNS Server was bound successfully.
[2019-05-26 04:34:33 UTC] [127.0.0.1:53] [TCP] DNS Server was bound successfully.
[2019-05-26 04:34:33 UTC] [[::1]:53] [UDP] DNS Server was bound successfully.
[2019-05-26 04:34:33 UTC] [[::1]:53] [TCP] DNS Server was bound successfully.
[2019-05-26 04:34:33 UTC] DNS Server is loading custom blocked zone file: C:\Program Files (x86)\Technitium\DNS Server\config\custom-blocked.config
[2019-05-26 04:34:33 UTC] DNS Server custom blocked zone file was loaded: C:\Program Files (x86)\Technitium\DNS Server\config\custom-blocked.config
[2019-05-26 04:34:33 UTC] DNS Server blocked zone loading finished successfully.
[2019-05-26 04:34:33 UTC] [0.0.0.0:5380] DNS Web Service (v3.3.0.0) was started successfully.
marcussacana commented 5 years ago

Solved: Looks like my localhost is 127.0.0.1, but the http is listering for local ipv4 address (192.168.x.y) And he don't accept 'http://localhost' but accept 'http://192.168.x.y' access

ShreyasZare commented 5 years ago

From the logs it seems to be listening on 0.0.0.0:5380 and should accept request from any IP address.

Do confirm using this command: netstat -ano | find ":5380"

This command will list all IP addresses the server is bound to. If you are accessing from network, make sure you add a firewall exception for the port 5380.

Also, from logs you seem to have set loopback address for DNS Server Local Addresses. This would mean that the DNS service is accessible only on the same machine.

marcussacana commented 5 years ago

I keep my firewall allways disabled. image image

ShreyasZare commented 5 years ago

From the output it looks like the web service is running on 192.168.2.100:5380. I am not really sure about this. Your system may have some config that is making it happen.

marcussacana commented 5 years ago

Well, since i can use the panel without problem now, it's fine for me. If you don't want research this case you can close the issue. :) Thank you

ShreyasZare commented 5 years ago

Thanks for the feedback.