How to install apache tomcat?

Hey guys can someone help me to install tomcat on f34. I did sudo dnf install tomcat and enabled it through systemctl but still cant connect to it in browser. Do I need to install anything else other than this?

1 Like

When you can’t connect to it via browser, is this a local connection (http://localhost) or remote? If remote, the question would be whether you are prevented access via firewall.
If local, check the access and error logs, /var/log/httpd. If remote, check the local firewall, firewall-cmd --list-services, and ensure ‘http’ is listed.

1 Like

What does
systemctl status tomcat
show?

is it not accessible on http (8080) or https (8443) or both?

1 Like

Thank you. I got it resolved. I just downloaded tomcat from and extracted it to /opt

Its ok, thank you. I got it resolved. I just downloaded tomcat from eclipse and extracted it to /opt