如何在Windows Vista命令提示符下检查端口8080? [英] How to check port 8080 in Windows Vista command prompt?

查看:104
本文介绍了如何在Windows Vista命令提示符下检查端口8080?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常新的编程和设置Java服务器。其实我的第一次尝试却没有成功。我即将在Java中测试我的第一个Web应用程序,但是当我点击Eclipse中的启动服务器在调试模式按钮时,我总是对我的Tomcat服务器发生错误,表示正在使用端口8080。我想知道如何在控制台中检查它,如果可能的话关闭它。你知道处理这个的其他方法吗?我也尝试过netstat,但找不到列表中的8080端口。请帮助我,因为我真的很沮丧。我尝试了在Google中找到的任何解决方案,但仍然有同样的问题。如果你可以向我解释这将是非常有帮助的。感谢提前。

解决方案

使用以下命令:

  netstat -an |找到:8080

以检查端口8080是否打开。


I am very new to programming and setting up Java Servers. Actually its my first time to try it but not successful. I am about to test my first web app in Java but whenever I click the "Start server in debug mode" button in Eclipse I am always having error about my Tomcat server saying that port 8080 is being used. I wanna know how am I gonna check it in the console and close it if possible. Do you know other ways on dealing with this??? I also tried netstat but can't find the port 8080 among the list. Please help me out because I am really getting frustrated. I a tried whatever solution I find in google but still having the same problem. If you can explain to me what's going on that would be very helpful. Thanks in advance.

解决方案

Use the following command:

netstat -an | find ":8080"

to check whether the port 8080 is open.

这篇关于如何在Windows Vista命令提示符下检查端口8080?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆