Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Tomcat port 8080 is occupied

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

2 solutions:

1. Close the process occupying port 8080: If port 8080 is occupied, execute startup.bat to report an error. You can execute netstat-ano command under cmd to check whether 8080 is occupied. If it is occupied, you can find and close the corresponding process in Task Manager according to the corresponding PID number, and then restart tomcat. The disadvantage of this method is that the port is occupied and the above operation has to be repeated.

2. Change tomcat port: Enter tomcat installation directory\conf folder, open service.xml with Notepad, specify new port number as shown below and restart tomcat.

This article is reproduced from: blog.csdn.net/sevenous/article/details/79101516

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report