简体   繁体   English

如何访问tomcat管理器的用户界面?

[英]How to access tomcat manager user interface?

I am using spring tcserver-2.9.5 (tomcat) as webserver. 我正在使用spring tcserver-2.9.5(tomcat)作为Web服务器。 I want to access tomcat manager UI. 我想访问tomcat管理器UI。 I tried to access it by navigating to http://localhost:8080/manager/html but I get a blank page. 我尝试通过导航到http://localhost:8080/manager/html来访问它,但出现空白页。

I have added the below entry to my tomcat-users.xml 我已将以下条目添加到我的tomcat-users.xml中

<user username="myadmin" password="adminPassword" roles="manager"/>

What I am missing here? 我在这里想念的是什么? Is 8080 not the right port for the tomcat manager UI? 8080不是适合tomcat管理器UI的端口吗?

You have specified local instead of localhost . 您指定了local而不是localhost Is that a typo? 那是错字吗?

Navigate to the base url for Tomcat http://localhost:8080 . 导航到Tomcat http://localhost:8080的基本URL。 If Tomcat is running on that port, and there are no webapps running at / , Tomcat will bring up its own home page. 如果Tomcat在该端口上运行,并且/上没有运行任何Web应用程序,则Tomcat将显示其自己的主页。

Click on the Manager App button on that page to navigate to the Management Console. 单击该页面上的Manager App按钮以导航到管理控制台。 Note the URL for future use. 记下URL,以备将来使用。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM