April 25, 200818 yr Anyone have any idea how to get your external IP address from a command line when your behind a router? I saw on some linux forums how to get around to doing that but... no luck with XP? Any clues or .exe's you can save/run to do this? Thanks... btw lol has to be in a command line....
April 25, 200818 yr Well when you're not afraid of digging in html:telnet www.whatismyip.com 80<enter>GET / HTTP/1.1 ^JHost:www.whatismyip.com ^J^J
April 25, 200818 yr I found whatsmyip don’t report the IP address correctly if you use a satellite ISP. Edited April 25, 200818 yr by Smiley357
April 25, 200818 yr Author i cant get telnet to open a connection with www.whatismyip.com on port 80 or any other port >.< is this just my computer being stupid or am i typing it wrong... method 1telnet www.whatismyip.com 80method 2telnet (enter)open www.whatismyip.com 80 (enter)lol ? Edited April 25, 200818 yr by Redhatcc
April 25, 200818 yr @Smiley357: Then how does the respons reach you?@Redhatcc: Can you open www.whatismyip.com in a browser?
April 25, 200818 yr I don’t have satellite but friends do and when I send them to that site for there IP it will give a incorrect IP. So I just walk them through the steps of logging into there router to find there ip.
April 25, 200818 yr Author yea it comes up fine in browser as far as sifting through html, this should be simple http://whatismyip.com/automation/n09230945.asp
April 25, 200818 yr Great!telnet www.whatismyip.com 80GET /automation/n09230945.asp HTTP/1.1Host:whatismyip.comworks for me. No digging in html.Maybe you should have a look at your firewall?
April 25, 200818 yr Author figured out what the problem is but no solution lol.. i "can" telnet into it and connect but what i type doesnt show up and when i send the GET command it goes through but nothing shows up after i hit enter. if i telnet to the site and hit enter it comes up with bad command error, but if i telnet into the server and enter the GET command the cursor goes to the next line so the command went through. if i hit enter after that it comes up bad command error...
April 25, 200818 yr Author ok got it working lol telnet www.whatismyip.com 80 (enter)GET /automation/n09230945.asp HTTP/1.1 ^j Host:whatismyip.com ^j^jworks :thumbupThank you Mijzelf for your patients and help!!!!Now next step is figure out a way to copy that to a text file lol >.< Edited April 25, 200818 yr by Redhatcc
April 26, 200818 yr I have no idea why people use whatismyip.com. It's much easier to use whatismyip.org
April 26, 200818 yr Try to do it simple!!!!Try this :http://www.dslreports.com/whoisIt will tell you what IP yoursefl is.
April 26, 200818 yr www.Whatsmyip.org is a lot nicer then .com but how would you use that in a bat file?Redhatcc :Why are you trying to find your IP in a bat file? B/c of the FTP site you are making?
Create an account or sign in to comment