Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Apache Tomcat on a VPS

Apache Tomcat runs Java web applications: deploy a WAR file and Tomcat serves servlets, JSP and WebSocket endpoints, with a manager app for deployments.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
8080/tcpPorts
Apache-2.0License

About Apache Tomcat

Apache Tomcat is an Apache-2.0 implementation of the Jakarta Servlet, Pages, Expression Language and WebSocket specifications. Copy a WAR into webapps and it deploys automatically.

Supported lines are Tomcat 11 for Jakarta EE 11 (Java 17 or newer), 10.1 for Jakarta EE 10 and 9.0 for Java EE 8 apps. A CloudSat VPS gives your apps their own JVM, free of shared-hosting limits.

After deploy Tomcat listens on port 8080. The Manager app stays locked until you add a user with the manager-gui role.

What you get with Apache Tomcat

  • Servlet, JSP, EL and WebSocket support
  • Hot deployment of WAR files
  • Manager and Host Manager web apps
  • HTTP/2 and TLS connectors
  • Clustering with session replication

Apache Tomcat use cases

  • Host a Spring or Jakarta EE web app
  • Keep legacy Java EE 8 apps alive on Tomcat 9
  • Stage WAR builds from a CI pipeline

After you deploy Apache Tomcat

  1. When CloudSat reports Running, check http://<server IP>:8080 for the Tomcat welcome page.
  2. Over SSH as root, add a user with the manager-gui role to conf/tomcat-users.xml, then restart Tomcat.
  3. The Manager accepts local connections only by default, so reach it through an SSH tunnel instead of opening it up.
  4. For public apps, put a reverse proxy with HTTPS on ports 80 and 443 in front of port 8080.

Apache Tomcat ports

Open these in your firewall if you use one: 8080/tcp HTTP connector.

Apache Tomcat FAQ

Which Tomcat version fits my app?

Tomcat 11 implements Jakarta EE 11 and needs Java 17, 10.1 covers Jakarta EE 10, and 9.0 runs Java EE 8 apps built on javax packages.

Why does the Manager app return 403?

Either no user holds the manager-gui role in tomcat-users.xml, or you are connecting remotely: the Manager only accepts localhost by default.

Disclaimer. The Apache Tomcat project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

Apache Tomcat on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back