简体   繁体   English

Tomcat 在 Eclipse 中启动但无法连接到 http://localhost:8080

[英]Tomcat started in Eclipse but unable to connect to http://localhost:8080

从 eclipse 内部启动时看不到 tomcat 管理页面。使用操作系统作为 Windows 7。

I could solve it by我可以解决它

  1. switching location under server properties windows.在服务器属性窗口下切换位置。
  2. Edit the server enter image description here编辑服务器在此处输入图像描述

If you need to see tomcat home page, you can use following configuration change.如果您需要查看tomcat主页,可以使用以下配置更改。 1. Double click the Tomcat server in the servers tab: 1、在servers标签中双击Tomcat服务器: 日食的服务器选项卡

  1. Change the Server Locations to Use Tomcat Installation:更改服务器位置以使用 Tomcat 安装:服务器位置

  2. Save & Restart the server.保存并重启服务器。 Now you should see Tomcat Homepage for locathost:8080/:现在您应该看到 locathost:8080/ 的 Tomcat 主页:Tomcat主页

In the other hand if you fail to start Tomcat server for your application.另一方面,如果您无法为您的应用程序启动 Tomcat 服务器。 You need to check web deployment assembly are configured correctly if you use maven.如果您使用 maven,则需要检查 Web 部署程序集配置是否正确。 A deployment descriptor folder should be selected correctly.应正确选择部署描述符文件夹。Web 部署程序集的配置

Hope this may help.希望这可能会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Tomcat 在 Eclipse 中启动但无法连接到 http://localhost:8085/ - Tomcat started in Eclipse but unable to connect to http://localhost:8085/ Tomcat在Eclipse运行时打不开http://localhost:8080/ - Cannot open http://localhost:8080/ when Tomcat is running in Eclipse Tomcat服务器启动,但是localhost:8080没有启动 - tomcat server started but localhost:8080 is not up 尝试在Eclipse中安装apache tomcat时出现“HTTP Status 404 - /”(localhost:8080) - “HTTP Status 404 - /” (localhost:8080) when trying to install apache tomcat in Eclipse 如何访问http:// localhost:8080 / pdf / abc123.pdf tomcat eclipse - How to access http://localhost:8080/pdf/abc123.pdf tomcat eclipse Apache Tomcat或Eclipse重定向到localhost:8080 /而不是localhost:8080 / projectname / index.jsp - Apache Tomcat or Eclipse redirect to localhost:8080/ instead of localhost:8080/projectname/index.jsp Tomcat 6在Eclipse中运行,但是localhost:8080在浏览器中从未响应 - Tomcat 6 is running in Eclipse but localhost:8080 never responds in browser Tomcat工作但我无法访问http:// localhost:8080 / - Tomcat works but I can't reach http://localhost:8080/ 无法连接到在Eclipse中启动的Tomcat 6实例 - Cannot connect to instance of Tomcat 6 started in Eclipse AgitarOne无法连接到Eclipse上的localhost:8080 / agitar-server - AgitarOne cannot connect to localhost:8080/agitar-server on eclipse
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM