![报错curl: (7) Failed to connect to 127.0.0.1 port xxxx: Connection refused_curl: (7) failed to connect to 127.0.0.1 port 80: _Moelimoe的博客-CSDN博客 报错curl: (7) Failed to connect to 127.0.0.1 port xxxx: Connection refused_curl: (7) failed to connect to 127.0.0.1 port 80: _Moelimoe的博客-CSDN博客](https://img-blog.csdnimg.cn/1ff8ef3e88014c7a966e78edd5f6a767.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBATW9lbGltb2U=,size_20,color_FFFFFF,t_70,g_se,x_16)
报错curl: (7) Failed to connect to 127.0.0.1 port xxxx: Connection refused_curl: (7) failed to connect to 127.0.0.1 port 80: _Moelimoe的博客-CSDN博客
![shell - GItLab CI gives curl: (7) Failed to connect to localhost port 8090: Connection refused - Stack Overflow shell - GItLab CI gives curl: (7) Failed to connect to localhost port 8090: Connection refused - Stack Overflow](https://i.stack.imgur.com/qvWpu.png)
shell - GItLab CI gives curl: (7) Failed to connect to localhost port 8090: Connection refused - Stack Overflow
![Curl: (7) Failed to connect to 10.0.130.62 port 80 after 0 ms: Connection refused - KodeKloud - DevOps Learning Community Curl: (7) Failed to connect to 10.0.130.62 port 80 after 0 ms: Connection refused - KodeKloud - DevOps Learning Community](https://kodekloud.com/community/uploads/db1265/optimized/3X/3/1/31b26a456bbd9bdeb0140f10456899badc5c954e_2_592x500.png)
Curl: (7) Failed to connect to 10.0.130.62 port 80 after 0 ms: Connection refused - KodeKloud - DevOps Learning Community
![networking - php-apache curl returns (7) Failed to connect to 10.96.128.220 port 80: No route to host - Super User networking - php-apache curl returns (7) Failed to connect to 10.96.128.220 port 80: No route to host - Super User](https://i.stack.imgur.com/IU3qv.png)
networking - php-apache curl returns (7) Failed to connect to 10.96.128.220 port 80: No route to host - Super User
![networking - Ubuntu on AWS lightsail curl: (7) Failed to connect to google.com port 80: Connection timed out - Ask Ubuntu networking - Ubuntu on AWS lightsail curl: (7) Failed to connect to google.com port 80: Connection timed out - Ask Ubuntu](https://i.stack.imgur.com/0tlPB.png)
networking - Ubuntu on AWS lightsail curl: (7) Failed to connect to google.com port 80: Connection timed out - Ask Ubuntu
![curl: (7) Failed to connect to localhost port 8001: Connection refused getting this error on windows and ubuntu 16.4 · Issue #3035 · Kong/kong · GitHub curl: (7) Failed to connect to localhost port 8001: Connection refused getting this error on windows and ubuntu 16.4 · Issue #3035 · Kong/kong · GitHub](https://user-images.githubusercontent.com/33145296/37410391-87a0e20e-27c6-11e8-8479-e70981553b95.png)
curl: (7) Failed to connect to localhost port 8001: Connection refused getting this error on windows and ubuntu 16.4 · Issue #3035 · Kong/kong · GitHub
Curl fails with "curl: (7) Failed to connect to ... port 80: Connection refused" · Issue #7586 · NixOS/nixpkgs · GitHub
curl: (7) Failed to connect to 20.245.88.48 port 80 after 1 ms: Couldn't connect to server - Microsoft Q&A
![Connection refused on container to container communication in same container network - Community - Docker Community Forums Connection refused on container to container communication in same container network - Community - Docker Community Forums](https://global.discourse-cdn.com/docker/optimized/3X/9/b/9b67ef37d98355fcf0eb54c9d16c21bd08b6297c_2_1024x293.png)
Connection refused on container to container communication in same container network - Community - Docker Community Forums
![Connection refused message when i am trying to connect container - Compose - Docker Community Forums Connection refused message when i am trying to connect container - Compose - Docker Community Forums](https://global.discourse-cdn.com/docker/original/3X/0/f/0f37325e42c0c98029d4f93a6ae4fcbe68fb093d.png)
Connection refused message when i am trying to connect container - Compose - Docker Community Forums
![Failed handshake to server http://127.0.0.1/ - Failed to connect to 127.0.0.1 port 80: Connection refused - CURL error code 7 (Couldn't connect to server) - Server Discussion - Cfx.re Community Failed handshake to server http://127.0.0.1/ - Failed to connect to 127.0.0.1 port 80: Connection refused - CURL error code 7 (Couldn't connect to server) - Server Discussion - Cfx.re Community](https://forum.cfx.re/uploads/default/optimized/4X/a/d/c/adc22a99dcad74925d16ea3b0da23716bb6d32d4_2_1023x547.jpeg)
Failed handshake to server http://127.0.0.1/ - Failed to connect to 127.0.0.1 port 80: Connection refused - CURL error code 7 (Couldn't connect to server) - Server Discussion - Cfx.re Community
![Failed handshake to server http://127.0.0.1/ - Failed to connect to 127.0.0.1 port 80: Connection refused - CURL error code 7 (Couldn't connect to server) - Server Discussion - Cfx.re Community Failed handshake to server http://127.0.0.1/ - Failed to connect to 127.0.0.1 port 80: Connection refused - CURL error code 7 (Couldn't connect to server) - Server Discussion - Cfx.re Community](https://forum.cfx.re/uploads/default/original/4X/f/8/3/f83d769152deeb5b8f0b3adbc70c03ad456859ea.jpeg)