简体   繁体   English

Tomcat管理器ERR_CONNECTION_REFUSED

[英]Tomcat manager ERR_CONNECTION_REFUSED

I use Eclipse IDE and I've JBOSS and Tomcat installed: everything seems to works, but... When I try to connect to http://localhost:8080/manager/html to use the administration panel, I get this error: 我使用Eclipse IDE,并安装了JBOSS和Tomcat:一切似乎正常,但是...当我尝试连接到http://localhost:8080/manager/html以使用管理面板时,出现此错误:

ERR_CONNECTION_REFUSED

this is my tomcat-users file: 这是我的tomcat用户文件:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>

<role rolename="tomcat"/>
  <role rolename="role1"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="both" password="tomcat" roles="tomcat,role1"/>
  <user username="role1" password="tomcat" roles="role1"/>


  <role rolename="manager-gui"/>
  <role rolename="manager-script"/>
  <user username="mauro" password="mauro"
roles="manager-gui,manager-script "/>
</tomcat-users>

Windows firewall is disabled, and until now I've never had problems to see all my JPS Windows防火墙已禁用,到目前为止,我从来没有遇到过查看所有JPS的问题

Give role manager-gui to some user 将角色manager-gui授予某些用户

<user username="manager" password="tomcat" roles="manager-gui"/>

NOTE: By default, no user is included in the "manager-gui" role required to operate the "/manager/html" web application. 注意:默认情况下,操作“ / manager / html” Web应用程序所需的“ manager-gui”角色中没有用户。 If you wish to use this app, you must define such a user - the username and password are arbitrary. 如果您想使用此应用程序,则必须定义这样的用户-用户名和密码是任意的。

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

相关问题 春季ERR_CONNECTION_REFUSED - Spring ERR_CONNECTION_REFUSED 码头工人微服务err_connection_refused - docker microservice err_connection_refused Stackify 前缀 sfclient ERR_CONNECTION_REFUSED - Stackify Prefix sfclient ERR_CONNECTION_REFUSED tomcat10主页无法通过键入localhost加载:8080错误:ERR_CONNECTION_REFUSED - tomcat10 home page can not load by typing localhost:8080 error: ERR_CONNECTION_REFUSED Selenium/TestBench 失败:net::ERR_CONNECTION_REFUSED - Selenium/TestBench failure: net::ERR_CONNECTION_REFUSED Spring 引导应用程序:net::ERR_CONNECTION_REFUSED - Spring Boot application: net::ERR_CONNECTION_REFUSED 从OncePerRequestFilter(Java + Spring)抛出与net :: ERR_CONNECTION_REFUSED不同的错误 - Throw different error than net::ERR_CONNECTION_REFUSED from OncePerRequestFilter ( Java + Spring ) Tomcat 8 Manager,HTML和文本运行,拒绝通过ANT连接访问 - Tomcat 8 Manager, HTML and Text running, access from ANT Connection Refused 在 IIS 服务器上运行的 Angular FE:对 http://localhost:8080/api 的 POST 请求生成 net::ERR_CONNECTION_REFUSED - Angular FE running on IIS server: POST request to http://localhost:8080/api generates net::ERR_CONNECTION_REFUSED 如果我在春季使登录页面使用&#39;https&#39;,如何避免错误102(net :: ERR_CONNECTION_REFUSED)? - If I make my login page use 'https' in Spring, how do I avoid Error 102 (net::ERR_CONNECTION_REFUSED)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM