Solved

Showing IP addresses of web servers

Posted on 2006-07-20
4
157 Views
Last Modified: 2010-03-17
How do I return the IP address of the web server that a user is logged onto?

background

We are trying to trouble shoot a round robin load balancing solution across a farm of 3 servers.  We need to be able to see the ip address of the server that the user has logged onto.

the site is written using asp.

Lizzie
0
Comment
Question by:seahorsegirl
4 Comments
 
LVL 9

Accepted Solution

by:
owenli27 earned 500 total points
ID: 17157443
use Request.ServerVariables to get a collection include key-value, For Example:

<%
Dim x
For Each x in Request.ServerVariables
    Response.Write x & " = " & Request.ServerVariables(x)
Next
%>

LOCAL_ADDR will be IP address of the server
0
 

Author Comment

by:seahorsegirl
ID: 17165719
Thanks, I'll give that a go and let you know how I get on.

Lizzie
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now