1

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?

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

1 Answer 1

1

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.

1
  • please use netstat -ant to see tomcat based on IPv4 or IPv6. Commented Mar 17, 2017 at 10:52

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.