Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When working on web-apps I'll usually run a development server on my local machine at localhost / 127.0.0.1, and if I need to show a colleague something I will check my ip address with shell command ip a and then run on that address instead.

Recently I found out that I could also make work in progress accessible to my colleagues by running the dev server on 0.0.0.0.

What is actually happening here, technically? What are the differences between using 0.0.0.0 vs using my ip address?

share|improve this question

closed as off-topic by Chris S Feb 5 at 16:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – Chris S
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Why is a question like mine off-topic and downvoted, but a question like this is highly upvoted and protected? I think my question is more on-topic, if a little bit basic. –  wim Feb 5 at 16:27
    
Why is a question like mine off-topic and downvoted, Well, because it is off-topic, being about a dev server, and not a production environment. but a question like this is highly upvoted and protected? Because a flood of developers from StackOverflow were interested in that question, and upvoted it. It was then protected to keep out the spammy answers from low rep users that it started to attract. –  HopelessN00b Feb 5 at 23:38
    
Newxt time, just omit the fact that it's a dev server, and it'll probably get a better reception. Of course, it looks like a duplicate of this question, which I found quickly by searching for 0.0.0.0 so it probably would have been closed anyway, but I digress. Point is, steps for better acceptance of your questions on this site: 1) Use search to see if it's been asked before. 2) Don't go out of your way to say it's off-topic (by stating it's a dev server). –  HopelessN00b Feb 5 at 23:44
2  
Don't remove your content... –  rene Feb 8 at 11:54
1  
@wim We don't generally delete posts that are simply off topic. Just leave it to die. –  Dan Feb 8 at 12:02

1 Answer 1

In most server configurations, or in netstat output, 0.0.0.0 is just shorthand for all available interfaces.

share|improve this answer

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