Forward Traffic Is Not Working On Docker Container When Accessing it From Outside The Docker Host Server, Connection Is Refused (Doc ID 2291764.1)

Last updated on AUGUST 02, 2017

Applies to:

Linux OS - Version Oracle Linux 6.7 with Unbreakable Enterprise Kernel [4.1.12] and later
Linux x86-64


When trying to access a application running on the  a Docker container (NGINX in this case) from an external Server using the forwarded port 8080  on the Docker server  and port 80 on the container, the connection is not established as expected while the FIREWALLD service is running.


This is the error:




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms