I'm trying to clone a repo from github by using the command: git clone https://github.com/
However, I'm getting the below error:
fatal: unable to access "https://github.com/...." : Failed connect to ip addr : port; No route to host
I have tried several things including turning the firewall off. systemctl status firewalld shows inactive status.
Does anyone have an idea what I might be missing here?
Check if the system has access to internet. It can be a problem with the nameserver. It should be defined here:
/etc/resolv.conf