Solved

Showing IP addresses of web servers

Posted on 2006-07-20
4
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

624 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