虚拟机上的连接被拒绝错误

时间:2017-04-18 12:24:39

标签: linux virtual-machine virtualbox centos7

Hello Stackoverflow专家,我正面临连接拒绝,同时尝试使用 yum 安装软件包我将命令切换到 curl 以否决yum的任何问题, Centos7 虚拟机正在 oracle-virtual 框中运行,并带有网桥适配器

[root@centos7 ~]# curl -vv -k https://yum.dockerproject.org/repo/main/centos/7/repodata/repomd.xml
* About to connect() to yum.dockerproject.org port 443 (#0)
*   Trying 54.192.189.202...
* Connection refused
* Failed connect to yum.dockerproject.org:443; Connection refused
* Closing connection 0
curl: (7) Failed connect to yum.dockerproject.org:443; Connection refused

ping工作

[root@centos7 ~]# ping yum.dockerproject.org
PING yum.dockerproject.org (54.192.189.202) 56(84) bytes of data.
64 bytes from server-54-192-189-202.maa3.r.cloudfront.net (54.192.189.202): icmp_seq=1 ttl=244 time=10.0 ms
^C
--- yum.dockerproject.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 10.016/10.016/10.016/0.000 ms

防火墙在虚拟VM中停止

[root@centos7 ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:firewalld(1)

我已经停止了主机虚拟机中的防火墙

[root@Host-Lnx ~]# /etc/init.d/iptables status 
Table: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination  

在对连贯性进行所有必要检查后,仍然会连接被拒绝

0 个答案:

没有答案