tomcat端口号配置 找到conf文件夹下的server.xml 找到connector 中的port=“8080” 修改8080即可改变端口号;(以6060为例);验证:输入http://localhost:6060/,如果打开成功则修改端口号成功;