Docker-proxy not passing connections to ports other than 80 from outside localhost (other machines)

Since few days my nginx, docker-compose, ubuntu server stopped serving api calls (port 8080), static files are still being served (port 80).

iptables -L output:

  • how to configure docker to be able to use private insecure docker-registry
  • Rancher slow performance deploying new docker image
  • How to export a project from IBM Bluemix PaaS to anywhere else as a Docker?
  • systemd service is not running on reboot
  • HTTPS URL Redirecting not working with HaProxy
  • How do you handle nontrivial environment differences with docker?
  • Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    DOCKER-ISOLATION  all  --  anywhere             anywhere            
    DOCKER     all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
    ACCEPT     all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain DOCKER (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             172.17.0.2           tcp dpt:27017
    ACCEPT     tcp  --  anywhere             172.17.0.5           tcp dpt:http-alt
    ACCEPT     tcp  --  anywhere             172.17.0.5           tcp dpt:8000
    ACCEPT     tcp  --  anywhere             172.17.0.5           tcp dpt:4000
    ACCEPT     tcp  --  anywhere             172.17.0.5           tcp dpt:3000
    ACCEPT     tcp  --  anywhere             172.17.0.5           tcp dpt:http
    
    Chain DOCKER-ISOLATION (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere            
    

    curl from the localhost (from the sever to itself) works, server receives the request:

    curl 172.17.0.5:8080
    {"statusCode":404,"error":"Not Found"}
    

    Curl from elsewhere to port other than 80 just hangs, port 80 always works.

    Any help is appreciated. Let me know if any details are missing. I have investigated through the whole stack and this seems to be the part that’s broken, and I have no idea why.

  • Docker container exits immediately after running or restarting PostgreSQL image
  • Docker: save internal hd contents
  • Why use AUFS as the default Docker storage backend instead of devicemapper?
  • Basic Dockerfile not running CMD command
  • Scala SBT set dockerRepository “Repository for publishing is not specified”
  • Issue in building docker image using habitus
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.