Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

node-statsd binds to all hosts by default #50

Open
watercrossing opened this issue Sep 5, 2014 · 1 comment
Open

node-statsd binds to all hosts by default #50

watercrossing opened this issue Sep 5, 2014 · 1 comment

Comments

@watercrossing
Copy link

When creating nodejs' dgram.Socket it is bound to all hosts by default. Is this intentional?

For public servers it might be a good idea to only bind to specific interfaces (e.g. localhost); this can be modified by calling Socket.bind.

@devdazed
Copy link
Collaborator

What is the main concern here? While it binds on all ports by default, it is only sending out on localhost. Additionally, would you be willing to create a pull request?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants