ip address
-
say i was only given port numbers of all running servers in a particular LAN network. Any hint on how to obtained the corresponding ip addresses for these ports? Thanks in advance
-
say i was only given port numbers of all running servers in a particular LAN network. Any hint on how to obtained the corresponding ip addresses for these ports? Thanks in advance
Get the Ipaddreses of your lan first u can use command "net view" it gives the machine names of all your network , then get the corresponding ipaddress of each machine, then combine ipaddress combination with your port list and ping, if u got answer then u have the correct ipaddress.
-
say i was only given port numbers of all running servers in a particular LAN network. Any hint on how to obtained the corresponding ip addresses for these ports? Thanks in advance
i think you misunderstand how IP addresses and ports work think of a street with 10 buildings, each building has 10 flats and each flat has its own mail box. Now in this example the IP would be the buildings physical address and the port number would be the flat number. an IP points to a physical machine on a network and a port points to a specific service on that machine.
Harvey Saayman - South Africa Junior Developer .Net, C#, SQL
you.suck = (you.passion != Programming)
-
i think you misunderstand how IP addresses and ports work think of a street with 10 buildings, each building has 10 flats and each flat has its own mail box. Now in this example the IP would be the buildings physical address and the port number would be the flat number. an IP points to a physical machine on a network and a port points to a specific service on that machine.
Harvey Saayman - South Africa Junior Developer .Net, C#, SQL
you.suck = (you.passion != Programming)
-
say i was only given port numbers of all running servers in a particular LAN network. Any hint on how to obtained the corresponding ip addresses for these ports? Thanks in advance
you say server but you mean client i supose, right?! If you are the client you have to know the server ip in order to connect to network (how would you locate him otherwise?), but you don´t know the ip addresses of others clients like you. If you are the server you know the ip from all your clients ok?! because if you let then in your network you get their id (meaning ip address). Why don´t you download some server/client application here in codeproject to take a look at the code?!
-
No you don't. All you have is the IP of a server with that port open. You may have multiple severs with the same port open. All of your servers may have that port open. You don't know you've got the one you were looking for. There is no way to resolve a port address to an IP address.
Simon