hi all,
can anyone tell me....
how can i know the ip address of any website currently opened in browser?
Printable View
hi all,
can anyone tell me....
how can i know the ip address of any website currently opened in browser?
Ping www.thewebsite.com will resolve the address for you.
I'm not positive but you can either do a whois on that website or you can ping it... correct me if I'm wrong someone.
= Cheers, jag291 =
thanx people for instant reply.
well, ping is not working neither nslookup,tracert,telnet or any such command.
first let me tell u config of my system,
i work on a public computer which is w2k workstation attached to w2k server,on user accounts. i`m not sure there may be firewall at the back. as i don`t have any admin priviledges i cannot change any of the settings except which r allowed to users.
i tried to ping on www.yahoo.com(say) but it showed "unknown host message".
A firewall is definetly at hand. The reason I conclude is that you CAN access yahoo over port 80 I assume but your firewall is disabling echo packets. My suggestion is...while connected to the website on IE or whatever, run netstat and check for you connections on port 80. Naturally, one of the addresses has to correlate to the website.
Scat
Unknown host means that it does not resolve through DNS. That being the case you got there by a redirection from somewhere else. Go back to the point that you entered this site from and try pinging that domain name. If it pings look at the link that took you to the page you want to find out about. Viewing the source may show you something like http://192.168.1.1/index.html If it does then you know the IP of the site. If it doesn't then the next page is probably doing an auto redirect. You need to capture that page and examin the source.
hi scat,
i tried netstat -an.
but found 0.0.0.0 as ip address on local port 80. what is this happening, i really dont understand.
Stupid question: Are you doing this while online?
See my son....if you are online, DNS must be working. Now instead on doing an "-an" switch on netstat, Just do a "netstat" and any 'active connections will show up. The key here is...you must be connected to the site...via IE. Hope that helps....
[edit]
If you are using the 2k kernel...it doesn't show as port '80' it displays 'http'
Scat
jaguar ,
to u this question may sound just stupid but to me i say it is damn stupid( out of dumb head, that is what i say, as a newbie).
but believe me this thing have troubled me since last couple of days.
i`ve tried all what i know about ping,netstat, tracert, telnet, etc with zero outcome then only ive posted this question on AO.
Well, if nslookup doesnt work, then you could try throwing your computer off a bridge ;). Honestly, I don't see any way that you could type a host into a browser but not be able to resolve it using nslookup. Frankly, its IMPOSSIBLE. you are typing like "www.foo.bar", not "http://www.foo.bar"...right?
If typing this exactly from the commandline(cmd.exe): "nslookup www.google.com" gives you an error while you can surf to the server in your browser. Do like I said before and throw it off a bridge.
Ok..... Let's try this the easy way...... What is the url you are trying to get to?
one more thing ive forgotten to tell u.... that on special request ive been given admin priviledges on local machine (not the server).
scat...man, i tried netstat the sceen dump is below......
==================================================================
C:\>netstat
Active Connections
Proto Local Address Foreign Address State
TCP d13:1503 ####PROXY1:8080 ESTABLISHED
==================================================================
what should i do now.. the moment when i ran netstat i`ve already opened yahoo.com & google.com on two separate windows.
Tiger,
it is out of sheer curiosity to learn the way things work.
so u can take any website ,say www.google.com.
My guess is you are going through a proxy that does the resolving for you...
Lets see if DNS is even configured: do a "ipconfig /all" at the command line. Are there any DNS Servers configured?
If not, that and the "...PROXY1:8080" line from your netstat output means to me that your proxy does the resolving for you...
You could use a web tool like samespade.org or geektools.com to do generic dns resolutions by hand.
Ammo
Unfortunetly that can't be the entire screen dump. If you are truly on a LAN or the internet for that matter....Windows has a grip of 'local' connections that should be displayed.....?
Scat
you could also try going to www.network-tools.com and type in the address of the site it will resolve the name as well as other tests. At least this way you should be able to find the ip address if your firewall isnt blocking 80.
PeacE
-BoB
Try using http://www.samspade.org and typing in the site url and you'll get lots of good information.Quote:
Originally posted here by AlcatraX
thanx people for instant reply.
well, ping is not working neither nslookup,tracert,telnet or any such command.
first let me tell u config of my system,
i work on a public computer which is w2k workstation attached to w2k server,on user accounts. i`m not sure there may be firewall at the back. as i don`t have any admin priviledges i cannot change any of the settings except which r allowed to users.
i tried to ping on www.yahoo.com(say) but it showed "unknown host message".
HTH
thank u very much to u all for the valuable information u've provided me.
i`ll be in touch with u people if got stuck anywhere.
-AlcatraX