ERR_CONNECTION_REFUSED when i want to deploy a war file to tomcat

Hi all, I downloaded tomcat in ubuntu and MySQL database so tomcat runs successfully with my server IP address and the port, and when I want to deploy the war file of my application it gives me “ERR_CONNECTION_REFUSED”

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
May 15, 2022


Do you see any errors in your Tomcat error log?

The log should be located by default at /var/log/tomcat unless you’ve manually changed the location.

Feel free to share the error here in case that there is any.