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

Documentation : Docker / localhost - Remote unavailable when trying to proxy localhost #593

Open
ArthurD1 opened this issue Nov 3, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@ArthurD1
Copy link
Collaborator

ArthurD1 commented Nov 3, 2024

When installing harp with docker, if proxying to a local service one has to specify --network="host" for the docker container to point to your docker host.

docker run --network="host" -it --rm -p 4000-4100:4000-4100 makersquad/harp-proxy
@hartym
Copy link
Contributor

hartym commented Nov 5, 2024

This is true for linux hosts, but for docker for desktop (windows, macos) machines where the underlying linux kernel is a separated virtual host, it probably does not work and host.docker.interal should probably be used instead.

@hartym hartym changed the title Docker / localhost - Remote unavailable when trying to proxy localhost Documentation : Docker / localhost - Remote unavailable when trying to proxy localhost Nov 6, 2024
@hartym hartym added the documentation Improvements or additions to documentation label Nov 6, 2024
@hartym hartym added this to the 0.x milestone Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants