Debian Droplet Setup Apache Tomcat

Posted May 6, 2018 976 views


I am currently struggeling to get an apache tomcat running on my system. I tried those two things:

  1. Following the DigitalOcean Tutorial: Tutorial

  2. Manually install Tomcat8.2.5 from the official site.

In both cases I modified the server.xml and changed the connector port to 80. I did not configure a firewall yet so that should not be interfering with the request.

The problem here is that all of my requests are timing out with ERRCONNECTIONREFUSED. Can someone help to fix this?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Can you share your server.xml file? In addition to changing the port, with many services it’s also necessary to make sure the service listens on the public port rather than just for local requests.