2018-08-11 发表在 编程语言 2084
代码语言:javascript复制tomcat无法访问
需要修改Tomcat/webapps/manager/META-INF/context.xml文件:
<Context antiResourceLocking="false" privileged="true" >
<!--
Remove the comment markers from around the Valve below to limit access to
the manager application to clients connecting from localhost
-->
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127.d .d .d |::1|0:0:0:0:0:0:0:1|d .d .d .d " />
-</Context>