How can I solve this: An error occurred while installing WooCommerce: Download failed. 0: php_netwo

Hi,
Working on localhost (xampp) but can't seems to update WP software and some plugins...showing this notification: An error occurred while installing WooCommerce: Download failed. 0: php_network_getaddresses: getaddrinfo failed: No such host is known. .

How can you aid me solve this?

Regards