Failed to connect to 127.0.0.1 port 80: Connection refused
问题阿里云新申请的云主机,curl本地哪个端口都会报这个错误:[root@iZ2zefh0wozglk2v3bmffvZ rocketmq]# curl 0.0.0.0 12581curl: (7) Failed connect to 0.0.0.0:80; Connection refusedcurl: (7) Failed to connect to 0.0.49.37: Invalid ar
·
问题
阿里云新申请的云主机,curl本地哪个端口都会报这个错误:
[root@iZ2zefh0wozglk2v3bmffvZ rocketmq]# curl 0.0.0.0 12581
curl: (7) Failed connect to 0.0.0.0:80; Connection refused
curl: (7) Failed to connect to 0.0.49.37: Invalid argument
解决方案:
安装并启动httpd服务即可
yum install httpd
systemctl enable httpd
systemctl start httpd
更多推荐
所有评论(0)