草庐IT

REMOTE_PORT

全部标签

IDEA启动项目提示端口被占用原因及解决方案-----错误提示:Web server failed to start. Port 20003 was already in use.

文章目录一、错误表现二、什么原因导致?三、如何解决?1.更换端口2.杀死占用端口的进程1)查看占用当前端口的进程ID2)通过如下命令杀死占用当前端口的进程3.重启电脑一、错误表现我们在使用IDEA启动项目时,常常会遇到错误提示:Webserverfailedtostart.Port20003wasalreadyinuse,如下图所示:二、什么原因导致?其实导致这个错误的原因简单来说就是当前项目要使用的端口已被其它进程或应用程序占用,无法被当前的进程或应用程序使用。这可能是由以下几个具体原因导致的:其他应用程序正在使用该端口:在同一台计算机上,可能有多个应用程序需要使用网络连接。如果两个或多个应

【已解决】ssh: connect to host github.com port 22: Connection refused

测试ssh是否可用的时候发现这个错误。使用ssh-vTgit@github.com可以看到ssh过程中的详细日志↓发现GitHub的地址变成了127.0.0.1了。 但是通过nslookup发现GitHub的地址应该是 20.205.243.166于是用火绒编辑了host文件可以看到是steam++把GitHub的地址都解析成127.0.0.1了↓在文件添加了 20.205.243.166github.com问题解决 

Git命令:撤销本地commit,解决remote: error: hook declined to update;解决Error: ENOSPC: no space left on device

Git命令:撤销本地commit一、方式11、使用gitlog查询提交记录2、使用gitresetcommitId回退到你想要的版本(ps:commitId就是gitlog里面显示的一长串字符,每次提交记录都有,你想要回退到哪个提交节点,就使用哪个commitId)二、方式2其中两种方式不清除本地提交和清除本地提交的方法1、回退到上次提交并清除本地提交的代码gitreset--hardHEAD^2、回退到上次提交不清除本地提交的代码gitreset--softHEAD~1三、方式3(推荐)问题:在mster分支写了半天,然后gitcommit提交了,才发现在masrter分支开发的。解决:gi

Unable to open debugger port (127.0.0.1:13928):java.net.SocketException “

Unabletoopendebuggerport(127.0.0.1:13928):java.net.SocketException“Interruptedfunctioncall:acceptfailed”一、问题描述准备debug启动项目时,报标题错误。二、原因分析出现这个报错的原因是因为端口被占用导致的。三、解决办法解决方法:关闭占用端口的进程。第一步:cmd打开命令行窗口,执行命令:netstat-aon|findstr“被占端口号”查找占用端口的进程。netstat-aon|findstr"被占端口号"第二步:根据pid,继续执行命令:taskkill-f-pid进程号关闭该进程。t

Sqlserver遇到TCP Provider An existing connection was forcibly closed by the remote host的解决方法

报错TCPProvider:Anexistingconnectionwasforciblyclosedbytheremotehost如下图,在dwprod2(服务器名dbprod96)服务器执行远程调用dbprod4\datamart服务器的job报错TCPProvider:Anexistingconnectionwasforciblyclosedbytheremotehost这类错误在官方文档里面有记录https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/connect/tls-exist-connection-

jenkins 配置git 提示“无法连接仓库:Command “git ls-remote -h -- gitxxxxxxxxx status code 128”

jenkins配置git提示“无法连接仓库无法连接仓库:Command“gitls-remote-h–git@codeup.aliyun.com:xxxxxxxxxxxxxxx/xxxxxx.gitHEAD”returnedstatuscode128:stdout:stderr:Loadkey“/tmp/jenkins-gitclient-ssh14549883685367104196.key”:errorinlibcryptogit@codeup.aliyun.com:Permissiondenied(publickey).fatal:Couldnotreadfromremotereposi

使用git push时出现remote: Permission to denied to . fatal: unable to access:403

1、在输入username时,输入注册github的邮箱2、在输入passward时,输入Personalaccesstokens,github已经不支持输入原始密码,转而输入tokens,在创建tokens时,要注意tokens的权限,否则会出现以下错误。创建tokens时权限设置如下:这里引用博文:https://zhuanlan.zhihu.com/p/400802269再次执行push代码:gitpushoriginmaster成功push

Failed to connect to github.com port 443 after 21129 ms: Couldn‘t connect to server

关于使用gitpush和gitpull命令时遇到fatal:unabletoaccess'https://github.com/dadaliw/git-study.git/':Failedtoconnecttogithub.comport443after21129ms:Couldn'tconnecttoserver在查阅一些解决方式的时候大部分的显示,要么取消代理,要么切换科学工具上网。然后这两种方式我都采用了,第一种取消代理,好处是可以使用SSH的方式进行gitpush。而如果没有取消代理的话,gitpush只能连接gitpush'url'分支名。而取消代理之后,就可以gitpush'ssh

android - java.io.IOException : An existing connection was forcibly closed by the remote host Error while Installing APK 异常

我正在尝试在我的设备上安装我的项目,但出现以下错误:enterimagedescriptionhere这是错误:java.io.IOException:现有连接被远程主机强行关闭安装APK时出错请帮我解决这个问题,还有谁能告诉我关于java文件中的R 最佳答案 run->cmd->your_android_sdk_path->platform-tools>Thenwritethebelowcommands.adbkill-server-Tokilltheserverforcefullyadbstart-server-Tostartt

Git 操作 Gitea 出现 kex_exchange_identification: Connection closed by remote host

1.问题背景我的部分代码储存在使用Gitea搭建的服务上:DevWiki-首页-DevWikiGitea之前都是使用网页在网站上进行仓库管理,今天在clone代码的时候出现异常:kex_exchange_identification:Connectionclosedbyremotehost,具体以下提示:$gitclonegit@git.devwiki.net:DevWiki/CefSharp.MinimalExample.gitCloninginto'CefSharp.MinimalExample'...kex_exchange_identification:Connectionclosed