Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 200351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:06:14+00:00 2026-05-11T17:06:14+00:00

I have Vista x64 IIS7 running on my dev. machine. I used to use

  • 0

I have Vista x64 IIS7 running on my dev. machine.

I used to use Request.ServerVariables.Get(“LOCAL_ADDR”) to get the operating instance IP address of the website which was resolving into like 192.168.1.89, however after switching to Vista & IIS7, I started to get ::1 which people say that it is IPv6.

How can I get it the old way? We use this to monitor if the instance actually is displaying the correct content. (It is difficult to change that monitoring method)

So golden question is how can I get running web app’s Local IP Address?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:06:14+00:00Added an answer on May 11, 2026 at 5:06 pm

    By coincidence I find out the solution.
    It is hidden in the hosts file.

    It was written in the hosts file as

    127.0.0.1       localhost
    ::1             localhost
    

    and now I changed it to

    127.0.0.1       localhost
    #::1             localhost
    

    Works great now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a particular Vista x64 machine that, when running our C# WinForms app,
I have a Vista x64 machine with 6GB of RAM, and I'm attempting to
I have several python.exe processes running on my Vista machine and I would like
I have SQL Server 2008 installed in a Vista x64 machine. When I look
I'm running Windows Vista x64, and I have JDK 1.6.0_21 (x64 version, I believe)
What OS would you choose for Visual Studio 2010? I have been running Vista
Quick background: I develop C# in VS2008 under .net 3.5 on a Vista-x64 machine
I'm looking to have vista/win7 use Aero-style windows while XP users use normal window
I have a Windows Vista PC with IIS7, I have managed to manually install
I have two machines, one running Vista Ultimate 32, the other one running XP

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.