Solved

Showing IP addresses of web servers

Posted on 2006-07-20
4
156 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
Comment Utility
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
Comment Utility
Thanks, I'll give that a go and let you know how I get on.

Lizzie
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 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

12 Experts available now in Live!

Get 1:1 Help Now