使用IDEA启动Tomcat进行调试时系统报 Unable to open debugger port的错误:
解决方法:修改调试端口
修改了端口系统仍然报这个错误,并且直接Run Tomcat时系统报错
解决办法修改Tomcat 配置文件,在server.xml中添加
<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
maxThreads="150" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
<Certificate certificateKeyFile="conf/localhost-rsa-key.pem"
certificateFile="conf/localhost-rsa-cert.pem"
certificateChainFile="conf/localhost-rsa-chain.pem"
type="RSA" />
</SSLHostConfig>
</Connector>
这段配置可能已经存在,只是默认被注释了,只要取消就可以了。
最后
以上就是风中发卡最近收集整理的关于Unable to open debugger port的全部内容,更多相关Unable内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复