Click here to Skip to main content
15,908,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 ?
Posted

1 solution

May be netstat -n command on the command prompt ? not sure this is what you are behind.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900