getdnsapi / stubby

Stubby is the name given to a mode of using getdns which enables it to act as a local DNS Privacy stub resolver (using DNS-over-TLS).
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
BSD 3-Clause "New" or "Revised" License
1.19k stars 99 forks source link

error: Could not bind on given addresses: No error #24

Open Mangaclub opened 6 years ago

Mangaclub commented 6 years ago

Greetings,

I Installed this programm with the msi installer and executed it like shown below

C:\Windows\System32>"C:\Program Files\Stubby\stubby.exe" -C "C:\Program Files\Stubby\stubby.yml" -l [08:03:38.669718] STUBBY: Read config from file C:\Program Files\Stubby\stubby.yml error: Could not bind on given addresses: No error

glad to see that the error was no error ;D

saradickinson commented 6 years ago

Yes, nice error message... Could you let me know what version of Windows you are using?

Try to run the command from a 'Administrator' command prompt window - I think that should fix it.

wtoorop commented 6 years ago

Yes looking where the error comes from (line 781 in stubby.c), I think the error message should report the value returned by getdns_context_set_listen_addresses and also we should have a platform independent perror like _getdns_perror in platform.[ch]

spacexnasa commented 6 years ago

image

windows 10 enterprise