草庐IT

device_port

全部标签

ssh连接服务器出现:ssh: connect to host **** port 22: Connection refused 的解决方法

我是windows10连接windowsserver2019一直出现ssh:connecttohost****port22:Connectionrefused查了一堆方法没有想要的首先去看你的虚拟机有没有开启远程访问,没有开启当然访问不了。点击允许远程访问点击允许,然后选择用户添加你新增的用户。然后不要看本机上面的的ipv4地址,虚拟机上是不一样的,一定要通过powershell输入ipconfig进行查看。如果已经使用本机的ipv4进行远程连接的话,需要通过如下代码,清除所连接的ip才能再次进行远程连接。ssh-keygen-RXX.XX.XX.XX//重启虚拟机sshdnetstopssh

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

使用 Keil uVision5 打开工程, 解决“Missing Device(s)”问题

 如果使用KeiluVision5打开工程,有两种方法解决“MissingDevice(s)”问题。第一种是方法先安装\Library\Firmware\GigaDevice.GD32F4xx_DFP.1.0.4.pack,在Project菜单中选择Manage子菜单,点击MigratetoVersion5Format...菜单,将KeiluVision4工程转为KeiluVision5工程,同时在OptionforTarget的C/C++中添加路径C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS\Include; 第二种方法是直接安装Addon,在Folde

RuntimeError:CUDA error:no kernel image is available for execution on the device报错解决(亲测)

深度学习算法训练报错调试Transformer网络,安装完timm包之后,运行程序时报错CUDAerror:nokernelimageisavailableforexecutiononthedevice,如图所示:网上对于该错误说啥的都有,因为这是第一次遇到这个错误,之前训练CNN也正常,排除显卡算力低,不支持高版本CUDA问题。看来看去,这位博主说的有道理:CUDAerror:nokernelimageisavailableforexecutiononthedevice报错解决方法开始检查自己的pytorch相关包的版本,如图所示:发现问题,我原本torch版本是1.9.1,但是由于安装ti

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

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

BUG:RuntimeError: CUDA error: invalid device ordinal CUDA kernel errors might be asynchronously repo

报错分析当运行以下代码报错:#self.opt.gpu_ids=["1"]torch.cuda.set_device(self.opt.gpu_ids[0])报错信息如下:RuntimeError:CUDAerror:invaliddeviceordinalCUDAkernelerrorsmightbeasynchronouslyreportedatsomeotherAPIcall,sothestacktracebelowmightbeincorrect.FordebuggingconsiderpassingCUDA_LAUNCH_BLOCKING=1.报错完整截图:报错的信息告诉我们,编号“