草庐IT

Git 之 解决git clone报错(Failed to connect to xxxxxx port 80: Timed out) 以及 git 的相关常用配置

目录背景gitclone报错git的相关常用配置背景初入新公司,gitclone一个项目,报错了!!! gitclone报错报错信息:解决思路:首先询问一下领导或者仓库管理员是否有给你项目权限;如果没有,让仓库管理员分配一下权限给你;如果给了项目权限还是报错……可以询问是否公司有相关的开发资料,或者自己进行相关配置解决问题;解决方案:这是如果公司没有给相关的开发资料的解决方案,有些公司会有相关的开发资料,如何如何配置git、git仓库等等……1、查看一下自己的git用户配置gitconfig--global-l观察用户名、email是否和分配给项目权限的你的用户名一致; 2、查看git用户配置

ssh: connect to host localhost port 22: Connection refused

今天本机安装hadoop时,遇到一个问题,配置ssh登录权限失败xxx@yyy:/opt/hadoop$sshlocalhostssh:connecttohostlocalhostport22:Connectionrefused百度搜索了好多文章都没能搞定,最后还是通过bing搜索(国际版)搞定的,这里分享一下。1确认OpenSSHserver是否安装sudoaptlist--installed|grepopenssh-server如果有如下返回结果,说明已经正常安装了openssh-server相反,如果没有返回结果,说明还没有安装,需要进行安装sudoaptinstallopenssh-s

ssh: connect to host localhost port 22: Connection refused

今天本机安装hadoop时,遇到一个问题,配置ssh登录权限失败xxx@yyy:/opt/hadoop$sshlocalhostssh:connecttohostlocalhostport22:Connectionrefused百度搜索了好多文章都没能搞定,最后还是通过bing搜索(国际版)搞定的,这里分享一下。1确认OpenSSHserver是否安装sudoaptlist--installed|grepopenssh-server如果有如下返回结果,说明已经正常安装了openssh-server相反,如果没有返回结果,说明还没有安装,需要进行安装sudoaptinstallopenssh-s

idea启动 org.springframework.boot.web.server.PortInUseException: Port XXX is already in use

  win+r,输入cmd,进入命令行窗口查询占用端口号所在进程:netstat-ano|findstr8001杀死进程:taskkill-f-pid进程号 

idea启动 org.springframework.boot.web.server.PortInUseException: Port XXX is already in use

  win+r,输入cmd,进入命令行窗口查询占用端口号所在进程:netstat-ano|findstr8001杀死进程:taskkill-f-pid进程号 

解决curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 问题

自动化使用要去下载图像识别的工具:Tesseract,mac需要用到brew,但是我的电脑没有,就先需要下载homebrew,然而按照官网的命令: /bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install.sh)"却提示:curl:(7)Failedtoconnecttoraw.githubusercontent.comport443:Connectionrefused原因应该是国外的ip吧,直接看解决方案吧解决方案:1、打开网站,https://www.ipaddress.

解决curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 问题

自动化使用要去下载图像识别的工具:Tesseract,mac需要用到brew,但是我的电脑没有,就先需要下载homebrew,然而按照官网的命令: /bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install.sh)"却提示:curl:(7)Failedtoconnecttoraw.githubusercontent.comport443:Connectionrefused原因应该是国外的ip吧,直接看解决方案吧解决方案:1、打开网站,https://www.ipaddress.

Failed to connect to github.com port 443: Connection refused问题解决

问题描述当进行仓库pull或者push时,报错如下:Failedtoconnecttogithub.comport443:Connectionrefused解决方法如下:方法一:关闭代理一开始查找解决方法以为是开梯子或者其他代理工具等原因,然后就试了重置代理或者取消代理的方式gitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxy添加全局代理:gitconfig--globalhttp.proxygitconfig--globalhttps.proxy如果以上问题还未得到解决,再采用以下方法:即:进行了上步操作还

Failed to connect to github.com port 443: Connection refused问题解决

问题描述当进行仓库pull或者push时,报错如下:Failedtoconnecttogithub.comport443:Connectionrefused解决方法如下:方法一:关闭代理一开始查找解决方法以为是开梯子或者其他代理工具等原因,然后就试了重置代理或者取消代理的方式gitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxy添加全局代理:gitconfig--globalhttp.proxygitconfig--globalhttps.proxy如果以上问题还未得到解决,再采用以下方法:即:进行了上步操作还

git 报错Failed to connect to github.com port 443 after 21224 ms: Timed out 解决办法

文章目录git报错Failedtoconnecttogithub.comport443after21224ms:Timedout解决办法报错情况报错前提解决办法一:配置http代理解决方法二:配置SSH代理Windows平台Linux或MacOSgit报错Failedtoconnecttogithub.comport443after21224ms:Timedout解决办法报错情况在gitclone或者gitpush时,一直报错Failedtoconnecttogithub.comport443afterxxxms:Timedout报错前提网页可以正常打开github电脑连接VPN解决办法一:配