tomcat
tcmmx1993
这个作者很懒,什么都没留下…
展开
-
一个tomcat部署多个端口
修改tomcat配置文件server.xml<?xml version="1.0" encoding="UTF-8"?><!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional informatio原创 2020-11-26 10:01:59 · 548 阅读 · 1 评论 -
tomcat 通过配置server.xml限制ip访问
业务需求:只有规定的ip可以访问bigMac项目在tomcat的conf目录中的server.xml:<Context path="/bigMac" reloadable="true" docBase="/usr/local/java/apache-tomcat-8.5.31/webapps/bigMac"> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.\d+\.\d+\..原创 2020-10-22 14:06:34 · 668 阅读 · 0 评论