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

how to access owner_api through ip,instead of 127.0.0.1 #2477

Closed
julycanfly opened this issue Jan 28, 2019 · 9 comments
Closed

how to access owner_api through ip,instead of 127.0.0.1 #2477

julycanfly opened this issue Jan 28, 2019 · 9 comments

Comments

@julycanfly
Copy link

how to access owner_api through ip,instead of 127.0.0.1

@quentinlesceller
Copy link
Member

Owner API is voluntarily statically binded to localhost for safety reasons. Closing.

@julycanfly
Copy link
Author

So if I need to call through program code, must I be on a machine?

1 similar comment
@julycanfly
Copy link
Author

So if I need to call through program code, must I be on a machine?

@julycanfly
Copy link
Author

Owner API is voluntarily statically binded to localhost for safety reasons. Closing.

So if I need to call through program code, must I be on a machine?

@quentinlesceller
Copy link
Member

Yes, you must be on the same machine.

@julycanfly
Copy link
Author

Yes, you must be on the same machine.

well,thanks

@julycanfly
Copy link
Author

Yes, you must be on the same machine.

I have another question in mind. If set owner_api_include_foreign = true, Can't the foreign_api also be accessed?

@beetahnator
Copy link

This prevents people from running grin in more serious production environments.

These days, you don't run everything on the same machine, you isolate services to provide maximum reliability and scaleability.

Not allowing people to bind externally also prevents using grin inside a docker container.

@hashmap
Copy link
Contributor

hashmap commented Mar 8, 2019

@mazamats it prevents people from exposing it by mistake, if you know what you are doing you still can expose it, for example with a side car proxy.

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

No branches or pull requests

4 participants