扫描本地网络上的TCP IP侦听器 [英] Scan for TCP IP listeners on local network

查看:224
本文介绍了扫描本地网络上的TCP IP侦听器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要找出是否可以找到正在侦听本地网络上特定端口的IP.

例如,我在此服务器上安装了一个服务器本地IP 192.168.20,我安装了一个正在端口9800上监听的应用程序

现在,当我编写一个客户端应用程序时,我不知道服务器的特定IP,但是我知道服务器监听的端口是9800.

有什么办法可以在运行时检索此信息?

Hi

I need to find out if theres a way I can look for IP''s that are listening for a specific port on my local network.

For instance , I have a Server local ip 192.168.20 on this server i installed an application that is listening on port 9800

Now when i write a client app I dont know the specific IP of the server but I do know the port the server listens on namely 9800.

Is there a way I can retrieve this information at runtime ?

推荐答案

可能是命令提示符下的 netstat -n 命令?不知道这就是你的背后.
May be netstat -n command on the command prompt ? not sure this is what you are behind.


这篇关于扫描本地网络上的TCP IP侦听器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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