By imeyer1
Hi,
I installed Tomcat 9 on my dorplet with Ubuntu 16.04 following this tutorial
[https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04]
I’ve changed the default port to 8181 because I have another service running on 8080 and started the service. If I check with
sudo systemctl status tomcat
it is running just fine.
If I check the ufw status the respons is good.
Status: active
To Action From
8181 ALLOW Anywhere
8181 (v6) ALLOW Anywhere (v6)
But when I try to reach the server in my webbrowser I get “Safari can’t open the page http://<my_IP>:8181 because Safari can’t connect to the Server <my_IP>”.
What could be the problem?
Thanks
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!
Hi @imeyer1
Can you run this command to make sure it’s listening on right port, and on the outside interface and not just localhost:
sudo lsof -iTCP -sTCP:LISTEN -P
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.