配置这个不同端口不同项目,是因为本人在结合ngrok这个内外网映射工具的时候
1.ngrok 申请连个通道
2下载ngrok工具,运行bat文件,输入你的通道ID
3 回车 确定,然后访问你的地址;我的是 http://hjwtest.ngrok.cc 和 http://hjwoa.ngrok.cc
4查看效果(免费的 通道 比较慢)
测试 成功
主要用途: 面试时候展示自己DEMO,微信开发调试,自己装B
#下面是完整的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 information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in com