简体   繁体   English

Eclipse Tomcat Depolyer插件错误

[英]Eclipse Tomcat Depolyer plug in error

I downloaded Tomcat Deployer so i could deploy remotely to my tomcat server, when insert all the correct details it ask for such as: 我下载了Tomcat Deployer,以便在插入它要求的所有正确详细信息时可以远程部署到我的tomcat服务器,例如:

  • Manager URL 管理员网址
  • Username/Password 用户名密码
  • URL of sync App 同步应用的网址

when i try to deploy i keep getting this error: 当我尝试部署时,我不断收到此错误:

Failed to deploy: com.caucho.hessian.client.HessianRuntimeException: java.net.ConnectException: Connection refused: connect
Projecct [HFJSe] deploy completed.

And nothing is deployed. 并没有部署任何东西。

If there anything i need to do on my Tomcat server? 如果我需要在Tomcat服务器上做任何事情?

The error states that the target machine is refusing the connection, so you'll need to check the following information: 该错误表明目标计算机正在拒绝连接,因此您需要检查以下信息:

  • The URL is correct (I know you've stated it, but the URL should be in the format of http://{host}:{port}/TomcatHelper (from what I understand in the documentation) URL是正确的(我知道您已经说过了,但是URL的格式应为http:// {host}:{port} / TomcatHelper(据我在文档中了解的内容)

  • That if there is a configuation file, that the port is configured appropriately 如果有配置文件,则说明端口已正确配置

  • The target server has that port open to accepting connections 目标服务器打开该端口以接受连接

  • Your username and password is correct 您的用户名和密码正确

  • If your "remote" server is on the same local machine, use your loopback address (ie localhost 如果您的“远程”服务器位于同一台本地计算机上,请使用您的环回地址(即本地主机)

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

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