Note: The state of port 443/tcp is closed instead of openĪll this was enough to make me realize that connections to the internet were not allowed on the server.Īll I had to do was speak with the team in charge of infrastructure to fix the network connectivity issue to the internet on the server. Instead something like this: Starting Nmap 7.01 ( ) at 11:50 WAT Nmap done: 1 IP address (1 host up) scanned in 1.21 seconds
I then tried the last time if the server has access to the internet using the following Nmap command: nmap -p 443 Īnd it returned: Starting Nmap 7.01 ( ) at 11:50 WAT Note: Anything other than 0 in the output means your system is not connected to the internet I tried checking again if the server has access to the internet using the following wget command: wget -q -spider echo $? Ncat: 0 bytes sent, 0 bytes received in 0.07 seconds. Instead of something like this: Ncat: Version 7.70 ( ) Nc: connect to port 443 (tcp) failed: Network is unreachable I tried checking if the server has access to the internet using the following netcat command: nc -vz 443Īnd it returned this output: nc: connect to port 443 (tcp) failed: Connection refused
Here are the things I tried that did not work: Use -password-stdin.Įrror response from daemon: Get : dial tcp 35.175.83.85:443: connect: connection refused
WARNING! Using -password via the CLI is insecure. I was getting the following error: docker login -u my-username -p my-password I had this same issue when working on an Ubuntu server.