该原因为配置的端口不是默认端口80。需要将其他端口改为默认的即可。

在web项目的web.xml 中配置如下

 

<security-constraint>
    <web-resource-collection>
        <web-resource-name>SSL</web-resource-name>
        <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>

</security-constraint>

 

相关文章:

  • 2021-11-21
  • 2021-10-03
  • 2022-12-23
  • 2021-07-07
  • 2021-08-03
  • 2021-11-21
猜你喜欢
  • 2021-12-03
  • 2021-11-22
  • 2021-12-03
  • 2021-06-04
  • 2022-12-23
  • 2021-05-28
相关资源
相似解决方案