Jump to content

Check Your IP From Behind A Router


Recommended Posts

Posted

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....


Posted

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

Posted (edited)

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 1

telnet www.whatismyip.com 80

method 2

telnet (enter)
open www.whatismyip.com 80 (enter)

lol ?

Edited by Redhatcc
Posted

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.

Posted

Great!

telnet www.whatismyip.com 80

GET /automation/n09230945.asp HTTP/1.1

Host:whatismyip.com

works for me. No digging in html.

Maybe you should have a look at your firewall?

Posted

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...

Posted (edited)

ok got it working lol

telnet www.whatismyip.com 80 (enter)

GET /automation/n09230945.asp HTTP/1.1 ^j Host:whatismyip.com ^j^j

works :thumbup :thumbup

Thank you Mijzelf for your patients and help!!!!

Now next step is figure out a way to copy that to a text file lol >.<

Edited by Redhatcc
Posted

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?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...