简体   繁体   English

Eclipse 显示在使用 tomcat v9 运行 Web 应用程序时端口正在使用中,即使我更改了它

[英]Eclipse shows ports are in use while running a web app using tomcat v9 even when i change it

when I try to run a dynamic webpage project, I face ab error that some other process is already using those port numbers.当我尝试运行动态网页项目时,我遇到了一些其他进程已经在使用这些端口号的错误。 I restarted the PC but it didn't solve the problem.我重新启动了PC,但没有解决问题。 I've tried changing the port numbers but that doesn't work.我试过更改端口号,但这不起作用。
Here are the ports I changed it to:这是我将其更改为的端口:

在此处输入图片说明

From the image attached it shows that port 80805 is busy, already in use从附图中可以看出端口 80805 很忙,已经在使用中

netstat -aon | findstr 80805

The number that is shown as last column of above result is process ID of program that is using your port.上述结果最后一列显示的数字是正在使用您的端口的程序的进程 ID。

Suppose that number comes to 13360. Then use the following command to know exact process using your port.假设该数字为 13360。然后使用以下命令了解使用您的端口的确切过程。

tasklist | findstr 13360

Port numbers are only 16-bit.端口号只有 16 位。 Pick ones under 65,535.选择 65,535 以下的。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Eclipse中在Tomcat上使用Struts运行Web应用程序时出现404错误 - 404 error while running web-app using Struts on tomcat in Eclipse 在 Tomcat 上运行 Web 应用程序项目时更改 Eclipse 打开的 URL - Change URL opened by Eclipse when running web application project on Tomcat 在 Eclipse 中的 Tomcat 7 上运行 Jersey Web 应用程序时出现 404 错误 - 404 error when running Jersey web app on Tomcat 7 in Eclipse 在Eclipse中使用tomcat Web应用程序时user.dir不正确 - user.dir is incorrect while using tomcat web app in eclipse 在Mac上使用Tomcat 8在Eclipse中运行Web应用程序的问题 - Issue running Web app in eclipse with tomcat 8 on mac 使用tomcat在eclipse外部运行Web项目 - running a web project outside eclipse using tomcat 支持Eclipse maven的Web应用程序引用工作区项目,但在运行Tomcat服务器时未部署这些项目 - Eclipse maven-enabled web app references workspace projects, but those are not deployed when running Tomcat server 我无法在Apache Tomcat v8.5上运行Web应用程序 - I'm having trouble running my web app on Apache Tomcat v8.5 使用Tomcat服务器在Eclipse中运行Java Web应用程序时系统重新启动 - system restarts while running a java web application in eclipse with tomcat server 当我尝试在本地 tomcat 8.5 上调试 Eclipse JEE Web 项目时,本地服务器上的服务器 Tomcat v8.5 服务器无法启动 - Server Tomcat v8.5 Server at localhost failed to start when I try to debug Eclipse JEE web project on local tomcat 8.5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM