-
Notifications
You must be signed in to change notification settings - Fork 65
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
Container unreachable externally? #6
Comments
I haven't tried to reach my containers from other host, but almost sure this has nothing to do with Tika. On the other hand, I just noticed there is Could you please provide a code snippet you use to check availability of your containers outside? |
Within the host that is running Docker (fresh DigitalOcean image, Docker 17.05.0-ce on Ubuntu 16.04), with this startup command:
I can reach the tika service with the following commands, as expected:
From an external host, I can ping the Docker host successfully, and I can access Docker webservices that I launch on the same host next to tikaserver (I used adminer to test). When I attempt to contact the tikaserver from this machine that can ping the Docker host and access other Dockerized webservices on the Docker host:
I get this error: curl: (7) Failed to connect to [Public IP] port 9998: Connection refused Lastly, I can reach the service from outside with a Putty SSH Tunnel that forwards localhost:9998 to [Public IP]:9998. |
Hello. This container should be accessible externally for you by default. Are you still having this issue? What host OS and docker version are you on? |
I can't seem to access the docker-tikaserver outside the host it is running on. I'm not sure if this is deliberate or not, but it was unexpected.
As per the README:
Will start up fine and is reachable locally both through localhost:9998/tika and [public IP]:9998/tika.
[public IP]:9998/tika is not reachable from outside the host. Other docker images with similar starting parameters are.
Is there any documentation available that shows how to make the docker container accessible externally?
The text was updated successfully, but these errors were encountered: