Friday 13 September 2013

Windows CMD to find listening TCP/IP ports of a "un-ping-able" PC on LAN?

Windows CMD to find listening TCP/IP ports of a "un-ping-able" PC on LAN?

I am developing a server-client web-application on LAN, in which the
clients need to auto-detect & connect to the server.
Because some servers are with windows fiewall on, pinging them reply
nothing. I wonder how can I detect that type of server PCs?
The only clue I have is that the Servers' application run on a random port
in range : 1025 ~ 2025.
Do I need to try connecting from 192.168.0.1 to 192.168.0.254 & check 1000
ports for every IP? Thanks !

No comments:

Post a Comment