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

Using ubuntu 11.04, I run netstat -nplt the results for local address may be




What is the difference?

I believe that the [::]: binds the service at port xxxx to all interfaces, (lo, eth0, eth1 ) and localhost: only binds it to loopback interface (lo). I think I am missing something. How can I toggle between the two states?

share|improve this question
up vote 1 down vote accepted

[::] is an ipv6 notation and it's the same as 0000:0000:0000:0000:0000:0000:0000:0000 , and it means any ip address.

share|improve this answer
does this server the same function as in ipv4? Bind to all interfaces? – Dave Feb 14 '13 at 8:34
Does it bind to ip addresses or interfaces – Dave Feb 14 '13 at 8:36
Yes, it's bind to all ip address, so all interfaces – 0wn3r Feb 14 '13 at 8:38
Found a good explanation here:… – Dave Feb 14 '13 at 8:41


This is the IPv4 loopback address


This means port 6666 on all IP addresses (v4 and v6).

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.