Curl error (7): Couldn't connect to server for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml [Failed to connect to cdn.redhat.com port 443: No route to host] code example
Example: Curl error (7): Couldn't connect to server for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml [Failed to connect to cdn.redhat.com port 443: No route to host]
sudo yum clean all | sudo rm -r /var/cache/yum