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

Add support for port or complete api socketaddr #411

Merged
merged 2 commits into from
Apr 7, 2023

Conversation

madninja
Copy link
Member

@madninja madninja commented Apr 6, 2023

This adds support for the local listen address to be either a port or a fully specified ip:port listen address. It is RECOMMENDED to only use the port configuration (which defaults the ip to local host listening only) to avoid exposing local apis to the open internet.

@madninja madninja marked this pull request as ready for review April 6, 2023 12:15
@madninja madninja merged commit 933a1ce into main Apr 7, 2023
@madninja madninja deleted the madninja/listen_address_ext branch April 7, 2023 12:47
@shawaj
Copy link
Contributor

shawaj commented Apr 11, 2023

Can it be a hostname as well such as helium-miner:4467 or does it need to be an IP?

@madninja
Copy link
Member Author

Can it be a hostname as well such as helium-miner:4467 or does it need to be an IP?

It's a rust SocketAddr so pretty sure that needs to be an IP

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants