如何关闭Windows 7中打开的端口? [英] How do i close an opened port in Windows 7?

查看:70
本文介绍了如何关闭Windows 7中打开的端口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试启动基于java的服务器时,有一条消息说端口已经在使用...
并且所有我的Java Web服务器都已停止...所以如果有人可以帮助我,我会感谢它...

when i try to start my java based server there is a message that says the port is already in use... And all my java web servers are stopped... So if anyone can help me i will appreciate it...

推荐答案

如果真的还有一个打开端口的进程,你可以轻松检查(并通过 TCPView 关闭该过程。可能是端口只是挥之不去(例如由于未正确关闭),在这种情况下,您必须等待套接字关闭并检查代码是否清楚。

If there is really still a process that has the port open, you can easily check for that (and close the process) via TCPView. It might be that the port is just lingering (for example due to not being shutdown properly), in which case you'd have to wait for the socket to close and check that the code is clear with regard to that.

这篇关于如何关闭Windows 7中打开的端口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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