homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

Any way to tell what IP number I'm coming from?
Robert Charlton

 6:36 am on Jun 28, 2001 (gmt 0)

Just noticed as I reset my cookies on WmW tonight that the IP number I usually have from my ISP is different. Is there any way, aside from resetting my cookies on WmW, that I can determine what my IP number is when I connect to the web?



 6:54 am on Jun 28, 2001 (gmt 0)

Robert, if I access the control panel network troubleshooter at my web host (where I can do a traceroute), it shows my current IP number.

Probably no help to you, just thought I'd mention it.


 6:58 am on Jun 28, 2001 (gmt 0)

Start> Run> Type "winipcfg".

It will be under IP address.
Hit the "more info" button to see more stuff that doesn't make sense to you ;)


 7:01 am on Jun 28, 2001 (gmt 0)

Hi Robert,
There are a million ways to check your IP. The index page of the toy site in my profile will print out your IP and user_agent if you are in a pinch.


 7:04 am on Jun 28, 2001 (gmt 0)

Tool, that will work most of the time, but if you are in a private network you will get the IP for your box on that network, not the IP of the gateway to the outside world.


 7:10 am on Jun 28, 2001 (gmt 0)

AnalogX has a free download called [url=www.analogx.com/contents/download/network/nsl.htm]NetStat Live[/url] that will display your current IP.


 7:14 am on Jun 28, 2001 (gmt 0)

Hi Robert, If your running win2k right click on the icon that shows up when you connect to the web. Click on status then details and then you will see "client ip address".

Robert Charlton

 7:25 am on Jun 28, 2001 (gmt 0)

Thanks all... "winipcfg" does it just fine. NetStat Live also looks like an interesting utility.

Littleman... tried your site and got a really peculiar result. It printed out the IP number I usually have, but not the one that WebmasterWorld or winipcfg show that I have tonight. How can this be?


 7:52 am on Jun 28, 2001 (gmt 0)

i think you are behind a firewall or a proxy, so you have an IP on your local network (style 192.168.0.XXXX) and another one when you go on the net.

Robert Charlton

 5:21 am on Jun 30, 2001 (gmt 0)

Steph - I don't think I have a local network, though I do remember installing Network Neighborhood so Windows would remember my Dial-Up password. I'm running straight from a dial-up modem to an ISP, which is why I assume the IP number would change from time to time.

I just cleared my cookies on WmW again and ran winipcfg to compare IP numbers, and they showed different numbers. The "IP Configuration" box that winipcfg brings up says it's giving me Ethernet Adapter Information... and again, I don't thing I have an Ethernet adapter. What am I looking at? This is not my area of expertise.


 5:54 am on Jun 30, 2001 (gmt 0)

Robert, are you going through a router, like Linksys? Do you have dsl or a cable modem?

It could also be that your ISP has some type of funky caching system that is coming to hit some of the pages from a different address than you, and then is serving them to you. Singe out, go to the home page and look at your IP. Then hit reload and see if it changes. If it does, then that is probably what is happening.


 2:57 pm on Jun 30, 2001 (gmt 0)

Robert, try simply using a trace route. On W2k, from a command prompt (DOS box), I use "tracert www.webmasterworld.com."

For me the first few hops are from my system to my router then to the ISP as below:
C:\>tracert www.webmasterworld.com

Tracing route to www.webmasterworld.com []
over a maximum of 30 hops:

1 <10 ms <10 ms <10 ms
2 50 ms 30 ms 40 ms
3 80 ms 60 ms 50 ms XXX-XX-XX-XX-XX.az.sprintbbd.net [XX.XXX.XXX.XX]
4 51 ms 50 ms 30 ms
5 * 70 ms 31 ms host-217.genuity.net []
6 30 ms 50 ms 30 ms gigabitethernet5-0.phxcolo-dbe1.bbnplanet.net [1]

In this trace the first hop is to my router, 192.168.123.XXX usually indicates a device providing DHCP addressing. The second hop is to my ISP's router, the third is to the ISP's system. Next a router, then a concentrator, and then onto the backbone.

NeoTrace is a visual trace route program that does DNS lookups, whois lookups, etc, all in one package and makes seeing and understanding these relations quite a bit easier. Check out the trial version here [neoworx.com].

Robert Charlton

 3:48 pm on Jun 30, 2001 (gmt 0)

>>Robert, are you going through a router, like Linksys?<<

Not that I know of... This is a home office dial-up connection.

>>Do you have dsl or a cable modem?<<

Plain vanilla ISP dial-up...

I'm using Windows 95b... I've downloaded NeoTrace Lite and will install it once I deliver a project I'm working on... I'm profoundly conservative when it comes to installing new software when I have a deadline.

And a PS - Just reset my cookies as I was leaving the board, and my WmW reported IP number and winpcfg number agree.


 11:32 am on Jul 2, 2001 (gmt 0)

in view of this topic - I would like to ask a question of where i can get a script that reads both browser's ip - just like the one on webmasterworld.any help


 7:23 pm on Jul 3, 2001 (gmt 0)

zechariah - Your question is not real clear to me, sorry. I suspect you're asking about the "Welcome Guest From XXX.XXX.XXX.XXX" that appears at the top of the WmW screen before you login. I also suspect that by both browsers you mean IE and Netscape.

If I'm close to understanding your question, this is a very basic script function and you're unlikely to find a script that simply grabs and displays an IP. Most scripts will do much more with the IP, like logging it to a file or see if it's on a "banned list" or logging banned IPs and allowing access to non-banned or...

How are we doing so far? Anywhere close to answering your question?


 2:15 am on Jul 4, 2001 (gmt 0)

yes sure is the answer that i'm looking for but why can't the script be found anywhere- i found one only for netscape 4.7 but not ie


 4:08 am on Jul 4, 2001 (gmt 0)

I didn't say "the script couldn't be found anywhere" and I don't know what you mean by "but why can't the script be found anywhere- i found one only for netscape 4.7 but not ie"

I'm trying explain that the portion of the script at WebmasterWorld that displays the IP you connect from, is a very small subroutine of this very large and complex Perl script that is WebmasterWorld. The WebmasterWorld Perl script is run on a Unix host.

You want a script to do something, is that simply to read and display a visitor's IP address? You still haven't made that clear...

If you plan to incorporate your script into a web page, it will need to be run from your web host. What scripting languages does your host support? Some of the more common languages on Unix powered hosts are Perl, PHP and Java. If you're hosted on an MS server, ASP is the most commonly supported scripting language. If you're using a Cold Fusion server, Cold Fusion has it's own scripting language. What type of host is the site on that will run the script and what languages does the host support?

I'm not trying to be difficult, simply making several points:
1. You are asking for a program (script) but not saying specifically what the program should do.
2. A program operates in a specific environment (you can't run Mac applications on a Windows based PC or vice versa, for example) and you haven't provided details about YOUR environment.
3. A script that simply displays a visitors IP address is so simple and basic that it is unlikely to be found by itself. It will usually be a small part of a much larger more sophisticated script.

Unfortunately, unless you can ask better, more specific questions, the answers we can provide are limited.

Here are some places where various scripts can be found. You may find what you're looking for at one of these:


 4:25 am on Jul 4, 2001 (gmt 0)

sorry i didn't mean to ticker you in anyway - it's just that i wasn't thinking quite straight this morning in malaysia - i sincerely thank you for being so patient with me - those links would definitely help me much - coz i'm still a newbie at sripts & technical server issues.
Thanks & happy fourth of July to all americans in this forum - we in malaysia celebrate independence day in malaysia august 31st


 4:33 pm on Jul 4, 2001 (gmt 0)

>it's just that i wasn't thinking quite straight this morning

I'm guilty of that most mornings! :)

And I wasn't "tickered," just frustrated at not being able to understand and help. Hopefully we'll do better with your next question...

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved