0

So I downloaded tomcat8 on my machine and when I type the Public DNS (IPv4) on chrome, I am getting this.

image1

My context.xml file looks like this.

image

I was hoping to get at least the Unauthorized message(401). So how to fix the Access Denied message?

Thanks,

Theo.

Theo
  • 3,099
  • 12
  • 53
  • 94
  • What URL are you hitting on the server? The error seems to indicate that you're trying to use `/manager-gui` but it's possible that that's just a generic error. – stdunbar Mar 14 '19 at 21:45
  • @stdunbar I am hitting this url: http://ec2-35-177-67-38.eu-west-2.compute.amazonaws.com:8080/manager/html – Theo Mar 15 '19 at 04:09
  • @stdunbar I am also starting the server from the terminal as: sudo service tomcat8 start but still nothing. – Theo Mar 15 '19 at 04:12
  • Possible duplicate of [Access Tomcat Manager App from different host](https://stackoverflow.com/questions/36703856/access-tomcat-manager-app-from-different-host) – Selaron Mar 15 '19 at 07:22
  • Hmm. I don't have this tomcat/webapps/manager/META-INF/context.xml – Theo Mar 15 '19 at 13:52
  • 1
    Then the unix distribution maintainers put it somewhere else. On debian it would be `/usr/share/tomcat8-admin/manager/META-INF/context.xml` or `/etc/tomcat8/Catalina/localhost/manager.xml` – Selaron Mar 15 '19 at 20:58

0 Answers0