Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将我的应用程序部署在Tomcat 8. 每当我尝试访问它时。它会自动重定向到 HTTPS。
Tomcat 8
有人可以帮助我理解为什么会这样。
我没有更改 web.xml、context.xml 和 server.xml 中的任何内容。
对于默认应用程序,它在 http 上运行。
但是对于已部署的应用程序,它会重定向到 HTTPS - 8443。