Hello, please check if the server network is normal? Also check whether DNS is configured correctly
cat /etc/resolv.conf
If not set, execute the following command to set nameserver:
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
echo "nameserver 1.1.1.1" >> /etc/resolv.conf
nirmal