۵۰٪ تخفیف روی همه پلان‌ها، محدود. شروع از $2.48/mo
Apache Tomcat

Apache Tomcat

Apache Tomcat is the open-source Java servlet container. The reference runtime for Java web apps and JSPs since 1999, ships with implementations of Servlet, JSP, EL, and WebSocket APIs. Lightweight, embeddable, and the default deployment target for Spring Boot WAR files.

Version

11.0.9

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4,IPV6

Access Tomcat Web Interface

Open your browser and visit: http://<server-ip>:8080

Login to Manager & Admin

Use the admin username and password you set during installation ( stored securely at: /root/.cloudzy-creds).

Configuration

Tomcat config files are in /opt/tomcat/conf/

Change settings as needed and restart Tomcat:

systemctl restart tomcat

Logs are in /opt/tomcat/logs/

Allow or Deny Remote Access to Manager UI

By default, Tomcat restricts access to the manager and host-manager web apps.

This script auto-comments the IP restriction in:

/opt/tomcat/webapps/manager/META-INF/context.xml
/opt/tomcat/webapps/host-manager/META-INF/context.xml

Allowing other sections works the same way: edit their respective context.xml files and adjust the <Valve> rules.

To deny remote access again, uncomment the following line in the same files:

  <Valve className="org.apache.catalina.valves.RemoteAddrValve"
         allow="127.d+.d+.d+|::1|0:0:0:0:0:0:0:1" />

You can allow specific IP addresses instead by editing the <Valve> line to match your desired IPs.

More in Web Servers

Related apps.

Deploy Apache Tomcat now. از ۲٫۴۸ دلار در ماه.