[Errno 14] PYCURL ERROR 7 – “Couldn’t connect to host” solution
The new server points to the original server’s yum source, and after the configuration is completed, the
yum clean all operation and yum repolist
error are reported
[root@hadoop101 yum.repos.d]# yum repolist
Plugins loaded: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* extras: mirror.bit.edu.cn
* updates: ap.stykers.moe
http://192.168.1.100/cdrom/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Try other mirrors.
http://192.168.1.100/cdrom/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Try other mirrors.
extras | 3.4 kB 00:00
extras/primary_db | 29 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.7 MB 00:02
The problem is a firewall problem
solution: return to the primary server
type /etc/init.d/iptables stop
or chkconfig iptables off
to close the firewall
Read More:
- [Solved] Unable to connect to a as user root com.jcraft.jsch.JSchException: Auth failUnable to connect
- [Solved] Redis Error: Error condition on socket for SYNC: No route to host
- [Solved] Jedis connect and operate Redis error: Failed to create socket和connect timed out
- [Solved] Centos7 Install docker Error: iptables v1.4.21: Couldn‘t load target `DOCKER-ISOLATION‘
- How to Solve IBM MQ Connect Error Code 2035
- How to Solve nacos Startup Error and Connect to MYSQL
- How to Solve Docker Portainer Connect Error
- [Solved] Project Startup Error: Redis health check failed:Unable to connect to localhost6379
- [Solved] Project Startup Error: Redis health check failed: Unable to connect to localhost6379
- [Solved] Rocketmq installation error: org.apache.rocketmq.remoting.exception.remotingconnectexception: connect to failed
- [Solved] Docker-maven-plugin Build Mirror Error: failed: Connection refused: connect
- [Solved] Multithreading uses jsch to obtain a session for connection error: session.connect: java.net.socketexception: connection reset
- API Failed to Connect phoenix Error: java.sql.SQLException: ERROR 726 (43M10): Inconsistent namespace mapping properties
- [Solved] Springboot connect MySQL error: errorcode 0, state 08s01
- [Solved] spingboot Error: I/O error on POST request for “9411/api/v2/spans“: connect timed out
- JAVA Connect MYSQL Error: Path does not chain with any of the trust anchors
- Spring cloud remote connect Nacos error [How to Solve]
- [Solved] JAVA connect HBase program is stuck and does not report an error
- [Solved] Redis Client On Error Error connect ECONNREFUSED 11.20.200.6379 Config right
- JAVA Connect Redis Error: stop-writes-on-bgsave-error option