Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

avahi-daemon continues to bind to eth0 ports 5353 and 53791. Is there any way to tell avahi-daemon to only bind to localhost and not eth0 ?



netstat -nap

udp   0   0*   3145/avahi-daemon:
udp   0   0*   3145/avahi-daemon:
share|improve this question
What are you trying to do? (Restricting it to localhost strikes me as you want to disable it completely?) Have you had a look at the output of avahi-daemon --debug? – sr_ Jan 20 '13 at 12:02

Avahi-daemon implements Zeroconf network configuration protocol. It is useless unless it operates on network interface. You can select on which network interface you want it to run using "allow-interfaces" and "deny-interfaces" directives, but if you do not want to run in on any real network interface (as you seem), then you should not be running it at all, so simply shut it down (for example by putting "exit 0" in /etc/default/avahi-daemon) or even better remove the package completely if you do not plan to using it in the future.

It does not make any sense to run it only at "lo" interface.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.