默认情况下,tomcat 限制了只能本机访问

如果我们想要修改这个设置:

 

编辑 webapps/manager/META-INF/context.xml

<!--<Valve className="org.apache.catalina.valves.RemoteAddrValve"
         allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" /> -->

  

把这行注释掉就可以了

 

相关文章:

  • 2021-11-17
  • 2022-01-21
  • 2022-01-03
  • 2021-06-04
  • 2021-12-30
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2021-09-21
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-06-21
  • 2021-08-23
相关资源
相似解决方案