如何修改Tomcat默认端口号?Tomcat默认端口修改方法
时间:2023-05-18 17:00:14
怎么配置Tomcat默认端口?Tomcat 服务器在被安装之后,TA的http协议默认交互端口是8080,想要修改成其他端口号要怎么修正呢?想要修改Tomcat默认端口,就需要找到server文件,具体过程请看下文步骤进行处理。
Tomcat默认端口修改方法:
1、更改Tomcat端口,需要找到该软件的安装目录(如图)。
2、在 apache-tomcat-7.0.62-windows-x64 安装目录下找到conf文件件下的server文件(如图)。
3、右击选择打开方式->记事本打开server文件(如图)。
4、打开文件后使用快捷键Ctrl+F查找port=“8080” (如图),更改需要的端口号,保存后关闭文件。
5、修改端口后,重新启动服务器,在 apache-tomcat-7.0.62-windows-x64 安装目录下找到bin文件件下的startup文件双击开启服务器。
6、当出现Server startup in “时间” ms(如图)时说明服务器启动成功。
7、在浏览器中输入:https://127.0.0.1: xxxx(xxxx表示某端口号),加载后出现如下画面表示修改成功。
以上内容便是Tomcat默认端口修改方法,下次需要修改Tomcat默认端口就轻车熟路了。
标签:tomcat
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
[视频]Win10 Build 9926上手视频速览 内附iso镜像下载
2022-04-01 19:27:14
![](https://img.aspxhome.com/file/2023/29/a252095_0s.jpg)
window10怎么卸载声卡驱动?win10删除声卡驱动的方法
2022-02-06 03:43:17
![](https://img.aspxhome.com/file/2023/30/a264825_0s.jpg)
win10系统关闭专注助手教程
2023-06-08 12:01:00
![](https://img.aspxhome.com/file/2023/1/a274726_0s.jpg)
excel表格怎么自由移动整行或整列?
2023-12-05 21:17:54
![](https://img.aspxhome.com/file/2023/9/40179_0s.png)
虚拟机如何进bios设置?电脑用虚拟机bios怎么设置?
2022-12-28 03:12:41
![](https://img.aspxhome.com/file/2023/1/a271777_0s.jpg)
如何查找和清理Mac大文件和旧文件?
2023-04-23 03:06:37
![](https://img.aspxhome.com/file/2023/0/a210450_0s.jpeg)
wps文字中批注怎么添加
2023-09-13 03:38:39
Win10新应用手机伴侣上架 支持手机电脑自由同步
2023-03-09 12:26:13
![](https://img.aspxhome.com/file/2023/28/a250039_0s.jpg)
ISA防火墙监视功能的使用方法(图文教程)
2022-08-27 17:10:08
![](https://img.aspxhome.com/file/2023/29/a258920_0s.jpg)
win10自带应用商店闪退是什么原因 怎么解决
2022-08-18 21:29:26
![](https://img.aspxhome.com/file/2023/1/a282218_0s.png)
win7系统怎么降低CPU使用率?四种降低CPU使用率方法
2022-11-11 04:22:00
![](https://img.aspxhome.com/file/2023/28/a243283_0s.jpg)
教你判断Win10硬盘是SSD还是HDD的方法教程
2022-10-21 20:39:37
![](https://img.aspxhome.com/file/2023/2/a291042_0s.png)
阅读狗APP怎么注册?阅读狗APP注册方法
2024-01-03 18:51:54
![](https://img.aspxhome.com/file/2023/8/a336239_0s.png)
搜书大师如何使用?搜书大师使用方法
2023-08-12 12:03:12
![](https://img.aspxhome.com/file/2023/8/a336388_0s.png)
windows下去除快捷方式桌面图标小箭头的方法(winxp/win7)
2023-05-06 21:44:59
![](https://img.aspxhome.com/file/2023/29/a258284_0s.jpg)
电脑中怎么将文字保存为长图片格式?
2022-08-30 14:44:56
![](https://img.aspxhome.com/file/2023/6/a322670_0s.jpg)
迅雷X怎么开启自动抱团?迅雷X自动抱团功能使用教程
2023-02-08 22:20:57
![](https://img.aspxhome.com/file/2023/7/a330638_0s.jpg)
Word软件中怎么添加图片文件?Word软件添加图片方法教学
2023-06-20 16:43:45
![](https://img.aspxhome.com/file/2023/0/31140_0s.png)
不会整就别说电脑开机速度慢 提高win8电脑开机速度的技巧
2023-10-30 05:35:47
![](https://img.aspxhome.com/file/2023/29/a253004_0s.jpg)
电脑文件夹怎么加密呢?电脑文件夹加密详细步骤
2023-06-26 11:15:36
![](https://img.aspxhome.com/file/2023/6/a324259_0s.png)