I've created a VM with Ubuntu Server 16.04 LTS on Microsoft Azure. I then installed Tomcat 8 following this tutorial. I started the Tomcat server and I was able to access it from the local machine

The next step is to access Tomcat from another computer. I've disabled the firewall using sudo ufw disable I created inbound rules by going on the Azure new portal > select my VM > Network Interfaces > Network Security Rule. Security Rules

However when I try to access my server from my computer, it says this site can't be reached... What am I missing/doing wrong?

Thanks for the help!

EDIT: Ok so I found the link in comment. I had to create a workers.properties file etc. and now it works... But why?

  • Have you modify Tomcat port settings? listening on port 80?
    – Jason Ye
    Mar 17 '17 at 9:29
  • Tomcat listening on port 8080 by default. please use netstat -ant to check which port listening on,
    – Jason Ye
    Mar 17 '17 at 9:40
  • Yes listening on port 80
    – Gpack
    Mar 17 '17 at 10:20
  • Here's the link about the workers.properties blogs.msdn.microsoft.com/visualstudioalm/2016/08/18/…
    – Gpack
    Mar 20 '17 at 0:54

workers.properties have the information about host address and port information. The Tomcat worker is a Tomcat instance that is waiting to execute servlets or any other content on behalf of some web server.
For example, we can have a web server such as the Apache HTTP Server forwarding servlet requests to a Tomcat process (the worker) running behind it.

  • please use netstat -ant to see tomcat based on IPv4 or IPv6.
    – Jason Ye
    Mar 17 '17 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.