web site : https://opsx.alibaba.com/mirror 运行后出现下面的Error: base//x86_64/other_db FAILED http://mirrors.aliyun.com/centos/7/os/x86_64/repodata/4a963ccbdeb4a9246170341539b5f4816d8a55cc59b65e972ce161da4812b78a-other.sqlite.bz2: [Errno 14] HTTP Error 404…
在yum insatall 安装是报错 Failed connect to mirrors.cloud.aliyuncs.com:80; Connection refused 解决方法: cd /etc/yum.repos.d/ [root@web /etc/yum.repos.d]# sed -i 's/gpgcheck=1/gpgcheck=0/g' /etc/yum.repos.d/CentOS-Base.repo 3) [root@web /etc/yum.repos.d]# cat C…
新部署的云服务器出现如下错误: root@iZj6cbjalvhsw0fhndmm5xZ:~# apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: git-man liberror-perl Suggested packages…
服务器环境 centos 7.4 问题描述 1.可以ping通IP ,用IP访问nginx 不能访问,在服务器上curl localhost  curl 185.239.226.111可以获得 [root@izm5e16gjdevwdl8q7q3qoz ~]# curl 185.239.226.111curl: (7) Failed connect to 185.239.226.111:80; No route to host 解决办法 iptables -F  清空防火墙配置 这时候查询ipt…
问题:macOS安装Homebrew时总是报错(Failed to connect to raw.githubusercontent.com port 443: Connection refused) 原因:由于某些你懂的因素,导致GitHub的raw.githubusercontent.com域名解析被污染了. 解决办法:通过修改hosts解决此问题. 查询真实IP 在https://www.ipaddress.com/查询raw.githubusercontent.com的真实IP. 修改h…
安装vim-plug时,输入以下命令: curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim 报错以下内容: Failed to connect to raw.githubusercontent.com port 443: Connection refused 可以尝试以下解决方法: 1.打开hosts sudo vi…
假设git例如,下面的问题时,远程推送: [fulinux@ubuntu learngit]$ git push -u origin master ssh: connect to host github.com port 22: Connection refused fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository…
检查telnet是否已安装: [root@hostuser src]# rpm -q telnet-serverpackage telnet-server is not installed[root@hostuser src]# telnet 192.168.81.129bash: telnet: command not found... rpm -qa |grep telnet 没有则安装,有跳过 yum install telnet-server -y && yum install t…
本博客已经添加"打赏"功能,"打赏"位置位于右边栏红色框中,感谢您赞助的咖啡. # curl http://169.254.169.254/latest/user-data curl: () Failed connect to ; No route to host 解决方案: 重点检查是否是metadata agent出了问题. cd /etc/sysconfig/network-scripts/ ls vim route-eth0 route add -host…
# curl http://169.254.169.254/latest/user-data curl: () Failed connect to ; No route to host 解决方案: cd /etc/sysconfig/network-scripts/ ls vim route-eth0 route add -host 169.254.169.254 gw 10.10.10.1 dev eth0 route -n curl http://169.254.169.254…