Tried that but no charm as of yet. If I add comments like the one I have bold, I am unable to access tomcat manager.So I have to uncomment it. After uncomment. It says access denied...
Take just this out of context.xml and restart Tomcat and your browser. *<Valve className="org.apache.**catalina.valves.**RemoteAddrValve" allow="127\.\d+\.\d+\.\d+|::**1|0:0:0:0:0:0:0:1" />* Actually I don't know if restarting is necessary on either, but it can't hurt.