[Dnsmasq-discuss] failed to bind listening socket: Address already in use

Sorin Panca sorin.panca at gmail.com
Sat Nov 12 11:02:59 GMT 2005



Jason Gauthier wrote:
> Hi.
> I've set up dnsmasq with
>  
> 
>     domain-needed
>     expand-hosts
>     bogus-priv
> 
>     interface=eth0
>     domain=universite-projet
>     cache-size=256
> 
>  
> and my /etc/hosts file looks like
>  
> 
>     ::1 ip6-localhost ip6-loopback
>     2001::1 debiansrv.universite-projet debiansrv
>     2001::2 win2k3srv.universite-projet win2k3srv
> 
>  
> And when I start dnsmasq, I get an error saying "failed to bind
> listening socket: Address already in use".
> What's the problem?
Probably you have bind or dhcpd listening to that socket.
Try nmap 127.0.0.1 to see if this is the case.



More information about the Dnsmasq-discuss mailing list