Boa tarde, ao tentar instalar o composer, apareceu o seguinte erro: Failed to open stream: Connection timed out in Command line code on line 1.
PHP instalado na versão: PHP 8.1.2-1ubuntu2.10 (cli) (built: Jan 16 2023 15:19:49) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.2, Copyright (c) Zend Technologies with Zend OPcache v8.1.2-1ubuntu2.10, Copyright (c), by Zend Technologies