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

non dockerized http targets not working for Mac #28

Open
crixo opened this issue Dec 7, 2018 · 2 comments
Open

non dockerized http targets not working for Mac #28

crixo opened this issue Dec 7, 2018 · 2 comments

Comments

@crixo
Copy link

crixo commented Dec 7, 2018

I'm trying to use the the ngrok container to expose non-dockerized http target but does not working on Mac.
docker run --rm --net=host -e NGROK_PORT="$1" wernight/ngrok
does not start the container as expected on Mac
docker run --rm -p 4040:4040 -e NGROK_PORT="$1" wernight/ngrok
starts the container but the proposed ngrok tunneling url does not work

Failed to complete tunnel connection
The connection to https://f8fab24b.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:4200.

Make sure that a web service is running on localhost:4200 and that it is a valid address.

The error encountered was: dial tcp 127.0.0.1:4200: getsockopt: connection refused

Not problem instead to expose dockerize app using this container

@songjiz
Copy link

songjiz commented Dec 20, 2018

@crixo Hi, the host networking driver only works on Linux hosts and is not supported on Mac. Docker Docs

@addison-outreach
Copy link

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

3 participants