How to check port 8080 in Windows Vista command prompt?

落花浮王杯 提交于 2019-12-21 05:52:37

问题


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.


回答1:


Use the following command:

netstat -an | find ":8080"

to check whether the port 8080 is open.




回答2:


try using the following command: \> netstat -a



来源:https://stackoverflow.com/questions/6606612/how-to-check-port-8080-in-windows-vista-command-prompt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!