当我们刚下载Tomcat 时,启动Tomcat 时,可以通过 http://localhost:8080 访问其首页时有时候会访问失败,比如:

访问Apache Tomcat 首页失败?为什么

通过观察,我发现当启动 IDEA中集成的 Tomcat 时,访问 http://localhost:8080 就会如上图所示

而,当我关闭服务器后,再去Tomcat 的安装目录去启动时(双击 startup.bat) ,则访问成功

访问Apache Tomcat 首页失败?为什么

问题是解决了,但是原因尚不清楚....哈哈哈

相关文章:

  • 2021-07-02
  • 2021-09-15
  • 2021-09-02
  • 2021-10-02
  • 2021-08-07
  • 2021-10-16
  • 2022-12-23
猜你喜欢
  • 2021-06-03
  • 2021-09-03
  • 2022-12-23
  • 2021-07-09
  • 2021-09-14
  • 2021-06-07
  • 2021-08-10
相关资源
相似解决方案