How do I point my custom domain to my IP:Port (18.104.22.168:8080)?
My word press app is working within a docker container with host port 8080 bound to the web container 80. I am able to access the app using the public IP with port 8080 (22.214.171.124:8080), but the app cannot be accessed using the only IP (126.96.36.199). Secondly, I have pointed my custom domain to digital servers and have matched the droplet and the domain name, I have even created a cname record pointing to that custom domain. But I am unable to access my application using the domain name, and I am unable to access it using the domainename:8080.... I assume I should be able to access the web container with only the domain name.... Am I missing something? Even inside the server, curl localhost triggers an error with the message, the server refused connection on port 80.... but curl localhost:8080 works fine. Any suggestions?