Eclipse Tomcat7 Server Doesnt support Remote Host

我的梦境 提交于 2019-12-01 02:35:55

The Tomcat support in Eclipse is meant for running Tomcat locally on your own machine. That's necessary because Eclipse deploys web modules to Tomcat by copying them into a folder in the Tomcat installation. It can't deploy things to a remote Tomcat server because it can't copy files into a folder on a different computer.

Typically you'd run Tomcat on your own computer for development, and then (manually) deploy your application to a remote server when you want to make it available to the rest of the world.

As you can see in the image the "server host name" field is "localhost" which is correct parameter value.

Solution:- in your case it would have been showing something like "cloud" or something else. please make sure that you pass correct value which is "localhost".

i also faced this issue .my case is "i already have created tomcat server and my tomcat server(8) is installation location is

"c:/xyz/apache-tomcat-8.0.28"

then i changed my tomcat server(8) location to another place `

"c:/abc/apache-tomcat-8.0.28"

`after that when i try to create new tomcat server 8.then it showing this error i solved by changing server runtime Environments in eclipse

preferences => server => Runtime Environments

then select your tomcat type .you can remove the server and add new server runtime Environment or edit existing one by giving correct tomcat installation path.then it won't give "The currently selected server type does not support remote hosts" error.

When you add Tomcat to Eclipse as a server runtime, don't forget to check "Create a new local server".

While defining new Server in eclipse

In server host name box use localhost instead of cloud.

anon58192932

for me I had renamed the tomcat folder after installing and was getting this error message with STS and Tomcat 6. See bobthemagicman's answer here: Eclipse Juno Tomcat 6 Remote Host Not Supported

Try to delete the temp file in your workspace. ...workspace\ .metadata.plugins\org.eclipse.wst.server.core\tmp-data

then make a new server with a new server runtime environment.

EasyWay Coding

Just change Server's Host Name to LOCALHOST

See here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!