Eclipse Tomcat7 Server Doesnt support Remote Host

jhbruhn picture jhbruhn · Feb 25, 2012 · Viewed 27.6k times · Source

My Problem is: When I try to add my Tomcat7 to Eclipse EE as a server, I get an error message that says:

"The currently selected server type does not support remote hosts"

Does anyone know how to solve this problem? Or how to enable remote hosts in Tomcat?

Answer

Wyzard picture Wyzard · Feb 25, 2012

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.