Find out your computer's IP address
Do you know what your computer's IP address is? For example, knowing your IP address could help you to remove hits to your web page counter from your computer, so that it will not increment while you view or edit your own pages.
To differentiate computers, each computer connected to the Internet is assigned at least one unique IP address (Internet Protocol address).
Click here to find out your current IP address.
- If your computer is constantly connected to the Internet, through a local network at work or school for example, most likely you have a static IP address. A static IP address is an address that doesn't change every time you log on to the Internet.
- If you have a dial-up connection to the Internet or are using a computer that gets connected to the Internet intermittently, you're most likely picking up a dynamic IP address from a pool of possible IP addresses at your Internet service provider's network during each login.
If you think you have a dynamic IP address, you should ask your network administrator or Internet service provider for the range of IP address that your computer could get assigned.
One way to guess if you might have a dynamic IP address is to disconnect from your Internet service provider, reconnect and recheck your IP address. If the IP address you see after reconnecting is different, that means you have a dynamic IP address.
Note that seeing the same IP address after reconnecting does not necessarily mean that you have a static IP address. This is because if some other computer doesn't use your current address when you disconnect (if someone else doesn't connect to your ISP in the meantime, for example), you may get the same address when you reconnect.
If you exclude a dynamic IP address from your counter...
If you decide to exclude your IP addresses from your web page counter and if you have a dynamic IP address, those addresses in your pool will also be excluded. This is because it's not possible to predict your next IP address, if you in fact have a dynamic IP address. Therefore, the larger the pool, the greater the number of exclusions from your counter. In other words, if there are 255 addresses within your pool, none of the hits originating from computers using those addresses (most likely your neighbors using the same ISP) will increment your counter.
On the other hand, if you have a static IP address, only your computer will be excluded. If you have a dynamic IP address and feel that excluding 255 addresses, for example, from millions of addresses on the Internet is significant, your ISP may be able to provide you with a static IP address for a small fee, even if you're using a dial-up connection.
Want to know how we obtained your current IP address? We wrote a simple script in ASP / PerlScript:
sprintf( "IP address = %s",
"REMOTE_ADDR" )->item ) );
: ASP/VBScript code. Download getip.txt (0.29 KB)
You can achieve the same results in ASP / VBScript using:
IP address = <%=Request.ServerVariables("REMOTE_ADDR")%>
: ASP/VBScript code. Download getip_vb.txt (0.23 KB)
Applicable Keywords : Active Server Pages, Common Gateway Interface, Internet, Intranet, PerlScript, World Wide Web