tomcat成功启动 外网访问成功 本地访问页面Bad Request This combination of host and port requires TLS

tomcat成功启动 外网访问正常 本地访问页面Bad Request This combination of host and port requires TLS

img

错误请求此主机和端口的组合需要TLS。
缺少证书
这个问题主要出现在同一服务器上,不同项目之间接口调用出现的该问题,出现的问题不同可能解决办法也不一样
解决方案1:
如果是postman请求:setting中把ssl证书验证关闭
解决方案2:
端口缓存问题,清除端口缓存

这是https协议