Solved

Showing IP addresses of web servers

Posted on 2006-07-20
4
159 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

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.

828 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