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

feat: enable setting the socket address for the Magi RPC #206

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

zilayo
Copy link
Contributor

@zilayo zilayo commented Feb 3, 2024

Currently the RPC is served on 127.0.0.1 with no option to configure it to another address.

This results in the RPC being unavailable outside of the container when running in a docker environment with the default docker bridge network setting.

This PR introduces a configuration setting to allow changing the address, with 127.0.0.1 being set as the default address.

Also added a test to confirm it works fine when setting via config.

fixes #205

Copy link
Contributor

@ncitron ncitron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ncitron ncitron merged commit 073ddb4 into a16z:master Feb 27, 2024
1 of 5 checks passed
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.

RPC served on localhost isn't available outside of docker containers
2 participants