草庐IT

Safe_ports

全部标签

Centos8更换yum阿里云源报错Failed to connect to mirrors.aliyuncs.com port 80: Connection refused]

2021年12月31日CentOS8EOL。按照社区规则,CentOS8的源地址http://mirror.centos.org/centos/8/内容已移除,目前第三方的镜像站中均已移除CentOS8的源。阿里云的源http://mirrors.cloud.aliyuncs.com和http://mirrors.aliyun.com也无法同步到CentOS8的源。当您在阿里云上继续使用默认配置的CentOS8的源会发生报错。1,运行以下命令备份之前的repo文件。rename'.repo''.repo.bak'/etc/yum.repos.d/*.repo2,运行以下命令下载最新的repo文

Failed to connect to 127.0.0.1 port 7890: 拒绝连接

Failedtoconnectto127.0.0.1port7890:拒绝连接查看是否使用代理$:gitconfig--globalhttp.proxy http://127.0.0.1:7890将使用的代理取消掉$gitconfig--global--unsethttp.proxy

Unable to negotiate with 47.96.92.201 port 29418: no matching host key type found. git问题解决

gitpushorigin报错信息:Unabletonegotiatewith47.96.92.201port29418:nomatchinghostkeytypefound.Theiroffer:ssh-rsa,ssh-dssfatal:Couldnotreadfromremoterepository.Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists.报错原图片: gitremote-v发现有远程,且试过重置user.nameuser.email重新生成过ssh都不管用,然后注意到报错中提示:theiroffe

zookeeper下载启动后:Client port found: 2181. Client address: localhost. Client SSL: false. Error contacti

1.我官网下载的版本1)在linux平台解压下载的zookeeper-3.4.10.tar.gz2)进⼊conf⽬录,cpzoo_sample.cfgzoo.cfg(复制一个config文件,第一个是模板,第二个是我们的conf文件)3)进⼊bin⽬录,启动zk服务启动./zkServer.shstart(默认端口2181用不着改)停⽌./zkServer.shstop查看状态./zkServer.shstatus启动了单节点模式报出了这个问题:这个问题怎么解决呢?1.关闭防火墙,systemctlstopfirewalld.service,重启zookeepersystemctlstatus

pip安装模块报错ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed

今天在安装python模块时提示ReadTimeoutError:HTTPSConnectionPool(host=‘files.pythonhosted.org’,port=443):Readtimedout具体报错如下:[root@0018/]#pipinstallpygameDEPRECATION:Python2.7reachedtheendofitslifeonJanuary1st,2020.PleaseupgradeyourPythonasPython2.7isnolongermaintained.pip21.0willdropsupportforPython2.7inJanuary

端口映射问题:Bad Request This combination of host and port requires TLS.

错误信息:BadRequestThiscombinationofhostandportrequiresTLS.遇到上面的错误信息:如果是通过域名访问,则该域名后配置的转发端口映射错误。如果是通过ip+端口或者域名+端口访问,则为你端口填写错误。我出现过若干次以上问题,所以将其记录,原因为在配置端口时,为服务配置了一个serverport一个httpport。但在访问的时候访问了serverport。就访问不到了。

使用Git时报错Connection reset by 20.205.243.166 port 22

报错代码如下:Connectionresetby20.205.243.166port22fatal:Couldnotreadfromremoterepository.Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists.百度搜了很多方法,如下:重新生成ssh密钥修改22端口为443修改git用户邮箱设置删除known_hosts中有关Github相关行将网络切换为手机热点(确实有效,治标不治本,怀疑公司内网问题)修改clone方式为https(应该有效,没试,治标不治本,而且项目多时太麻烦)今天又遇到了,突然回过神来

Unable to negotiate with ***** port **:no matching host key type found...连接的端口的密钥没有匹配

连接的端口的密钥没有匹配●解决方法查看网上的各种方法,这种情况的原因就是新的ssh客户端不支持ssh-rsa算法,要修改本地配置重新使用ssh-rsa算法。在.ssh文件下创建config文件(config没有后缀名),使用记事本打卡添加以下内容并保存:Host*HostkeyAlgorithms+ssh-rsaPubkeyAcceptedKeyTypes+ssh-rsa重新上传即可。

ingress 400 Bad Request The plain HTTP request was sent to HTTPS port

 问题现象        访问时返回400BadRequest,并提示TheplainHTTPrequestwassenttoHTTPSport。问题原因        IngressController到后端Pod请求使用了默认的HTTP请求,但后端是HTTPS服务。。解决方案        添加注释,让其使用https请求nginx.ingress.kubernetes.io/backend-protocol:"HTTPS"官方配置:Annotations-NGINXIngressController此问题在nginx配置中也出现过,解决方法proxy_passhttps://xxx; 

在GitHub上 git clone代码失败,显示:“ithub.com port 443: 连接超时“

有时候,使用gitclone指令下载代码时显示显示:“ithub.comport443:连接超时”。可以使用gitclone加速,官网URL:https://gitclone.com/官方描述,有下面三种方式可以使用:方法一(替换URL)gitclonehttps://gitclone.com/github.com/tendermint/tendermint.git方法二(设置git参数)gitconfig--globalurl."https://gitclone.com/".insteadOfhttps://gitclonehttps://github.com/tendermint/tend