Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind to host address #76

Closed
jirenius opened this issue Apr 1, 2019 · 1 comment
Closed

Bind to host address #76

jirenius opened this issue Apr 1, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jirenius
Copy link
Collaborator

jirenius commented Apr 1, 2019

Issue

Resgate needs to allow binding to host IP address.

Solution

A new configuration option to be added:

-i, --addr <host>     Bind to HOST address (default: 0.0.0.0)

For json configuration file:

// Bind to HOST address.
{
    "addr": "0.0.0.0"
}

A null value or omitted configuration should default to "0.0.0.0".
An empty string ("") would bind to both ipv4 and ipv6.

@jirenius jirenius added the enhancement New feature or request label Apr 1, 2019
@jirenius jirenius self-assigned this Apr 1, 2019
jirenius added a commit that referenced this issue Apr 1, 2019
@jirenius
Copy link
Collaborator Author

jirenius commented Apr 1, 2019

Solved in #77

@jirenius jirenius closed this as completed Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant