Skip to content
Discussion options

You must be logged in to vote

0.0.0.0 is a catch-all wildcard for binding to all the interfaces available on the machine as opposed to listening to only one specific address. Strictly speaking, it does not have any semantical meaning in terms of routing traffic to a specific location. So when the client says "I want to send some bytes to 0.0.0.0", technically this doesn't mean anything. While saying "send the traffic to 127.0.0.1" (or "localhost" for that matter) should work because the networking subsystem can look that up in the routing table and will know where to send your queries over the network.

Using 0.0.0.0 only makes sense on the server-side in terms of binding to machine-local network interfaces. Some opera…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by webknjaz
Comment options

You must be logged in to vote
0 replies

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants