Need help with tomcat7 web server --> Failed to load resource: net::ERR_CONNECTION_REFUSED

Posted December 1, 2014 17.8k views

I have purchased DigitalOcean ubuntu 14.04 64 server and I am trying to run a java application. I am using ubuntu OS and tomcat 7 server where my webapps folder is located in :

when i access to java application by chrome server return “Failed to load resource: net::ERRCONNECTIONREFUSED” it mean can not connect to tomcat server

I need your help How i fix this problem
and i create video i hope someone understand and help me


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

This question was answered by @kanith:

Hi ryanpq
Thank you for you help Ok i setting up a clean droplet rolling step
1.How To Connect To Your Droplet with SSH
2.Initial Server Setup with Ubuntu 14.04
3.Additional Recommended Steps for New Ubuntu 14.04 Servers
4.How To Install Java on Ubuntu with Apt-Get
5.How To Install Apache Tomcat 7 on Ubuntu 14.04 via Apt-Get

It stll same error and
I never install zpanel ,I think zpanel come with command apt-get update

Now, I change form Ubuntu 14.04 - > Debian it solved my problem

If you understand this post i ask you to rewrite this post to every one to beautiful language

Thank you.

You can see the comment here.

by Justin Ellingwood
When you start a new server, there are a few steps that you should take every time to add some basic security and set a solid foundation. In this guide, we'll walk you through the basic steps necessary to hit the ground running with Ubuntu 14.04.