Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

REMOTE_ADDR and Windows Vista

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
IIS 6 Server and Windows Vista - Hi There, I have a problem with IIS6 Webdav server on Windows 2003 and Windows Vista Clients. The problem is when to the secure Webdav data shares the users using Windows Vista have to enter the username in the form of ..

Basic Authentication or NT Authentication on Windows Vista.. - How do you enable Basic or NT on Windows Vista ? I found some website saying I need a Basic module... I go into the add module screen and don't see it listed. Thanks, Kelly Greer..

Cannot create a Virtual Directory using System.DirectorySe.. - Hi, The following is an extract from a C# console that creates a Virtual Directory on IIS 5 or 6. This code works on XP, Windows 2003 Server, Windows 2000. It does not work on Windows Vista Release Candidate 1 (IIS 7). The below line ..

Sending email in ASP using Windows Vista Ultimate 64-bits .. - I recently that there seems to be no way to send ASP email messages from a site in IIS 7 when hosted in Windows Vista Ultimate 64- bits because there is no SMTP server included with the OS. The funny thing is that even when a third..

Vista and IIS ? - Is there an of IIS in Vista ?
Next:  IIS: https timeout with 32 kbps bandwith  
Author Message
Luis F. Rodas

External


Since: Feb 25, 2008
Posts: 4



(Msg. 1) Posted: Mon Feb 25, 2008 4:01 pm
Post subject: REMOTE_ADDR and Windows Vista
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi all,

I am using the GetServerVariable( ) function (EXTENSION_CONTROL_LOCK
structure) and the parameter 'variable name' with value = "REMOTE_ADDR" in
my ISAPI extension DLL. When I am running my ISAPI extension on Win XP the
returned value from client is correct (e.g: 192.168.0.1). But when I run it
on Win Vista (IPv6 enabled) the returned value is "::1". Anyone knows why ?
How can I get the correct value ?

Best Regards,
Luis F.
(Indusoft Team)

 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
Bernard Cheah [MVP]

External


Since: May 31, 2005
Posts: 346



(Msg. 2) Posted: Tue Feb 26, 2008 2:04 am
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

::1 is short for localhost in v6.
if you are requesting on the vista itself, then it is correct as 127.0.0.1

--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/


"Luis F. Rodas" <support.RemoveThis@indusoft.com> wrote in message
news:uqufiD%23dIHA.1824@TK2MSFTNGP02.phx.gbl...
> Hi all,
>
> I am using the GetServerVariable( ) function (EXTENSION_CONTROL_LOCK
> structure) and the parameter 'variable name' with value = "REMOTE_ADDR" in
> my ISAPI extension DLL. When I am running my ISAPI extension on Win XP the
> returned value from client is correct (e.g: 192.168.0.1). But when I run
> it on Win Vista (IPv6 enabled) the returned value is "::1". Anyone knows
> why ? How can I get the correct value ?
>
> Best Regards,
> Luis F.
> (Indusoft Team)
>
>

 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
WenJun Zhang[msft]

External


Since: Dec 16, 2005
Posts: 229



(Msg. 3) Posted: Tue Feb 26, 2008 7:12 am
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Luis,

Could you please clarify the issue first, so we can assist on performing
some tests on this.

Do you mean if connecting to the IIS server(IIS6.0 or other version?) from
a Vista client with IPv6 enabled, you get the result: "::1" ? Or just as
Bernard mentioned, the result is by accessing local IIS 7.0 on the Vista
machine?

Thanks and have a nice day.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
Luis F. Rodas

External


Since: Feb 25, 2008
Posts: 4



(Msg. 4) Posted: Tue Feb 26, 2008 10:22 am
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dear WenJun and Bernard,

Thank you for your replies.

I am running locallly on WinVista. When I run the Web Service on Win Vista
and the client (consumer) on another computer the returned value is in the
IPv6 format. Any other way (function or anything - conversion from IPv6 to
IPv4 ?) so that the returned value is in the IPv4 format (eg: 192.168.0.1)
without disable IPv6 ?

Best Regards,
Luis F.
(Indusoft Team)


""WenJun Zhang[msft]"" <wjzhang.DeleteThis@online.microsoft.com> wrote in message
news:To7VjWGeIHA.4200@TK2MSFTNGHUB02.phx.gbl...
> Hi Luis,
>
> Could you please clarify the issue first, so we can assist on performing
> some tests on this.
>
> Do you mean if connecting to the IIS server(IIS6.0 or other version?) from
> a Vista client with IPv6 enabled, you get the result: "::1" ? Or just as
> Bernard mentioned, the result is by accessing local IIS 7.0 on the Vista
> machine?
>
> Thanks and have a nice day.
>
> Sincerely,
>
> WenJun Zhang
>
> Microsoft Online Community Support
>
> ==================================================
>
> Get notification to my posts through email? Please refer to:
> http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at:
>
> http://msdn.microsoft.com/subscriptions/support/default.aspx.
>
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
Bernard Cheah [MVP]

External


Since: May 31, 2005
Posts: 346



(Msg. 5) Posted: Wed Feb 27, 2008 1:06 am
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Well what's the url you request? base on the return value. it looks like you
are querying locally.
hence ::1 returned. Try request from a remote machine, what you get?

--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/


"Luis F. Rodas" <support.DeleteThis@indusoft.com> wrote in message
news:O5Q4uqHeIHA.5552@TK2MSFTNGP06.phx.gbl...
> Dear WenJun and Bernard,
>
> Thank you for your replies.
>
> I am running locallly on WinVista. When I run the Web Service on Win Vista
> and the client (consumer) on another computer the returned value is in the
> IPv6 format. Any other way (function or anything - conversion from IPv6 to
> IPv4 ?) so that the returned value is in the IPv4 format (eg: 192.168.0.1)
> without disable IPv6 ?
>
> Best Regards,
> Luis F.
> (Indusoft Team)
>
>
> ""WenJun Zhang[msft]"" <wjzhang.DeleteThis@online.microsoft.com> wrote in message
> news:To7VjWGeIHA.4200@TK2MSFTNGHUB02.phx.gbl...
>> Hi Luis,
>>
>> Could you please clarify the issue first, so we can assist on performing
>> some tests on this.
>>
>> Do you mean if connecting to the IIS server(IIS6.0 or other version?)
>> from
>> a Vista client with IPv6 enabled, you get the result: "::1" ? Or just as
>> Bernard mentioned, the result is by accessing local IIS 7.0 on the Vista
>> machine?
>>
>> Thanks and have a nice day.
>>
>> Sincerely,
>>
>> WenJun Zhang
>>
>> Microsoft Online Community Support
>>
>> ==================================================
>>
>> Get notification to my posts through email? Please refer to:
>> http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
>> ications.
>>
>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>> issues
>> where an initial response from the community or a Microsoft Support
>> Engineer within 1 business day is acceptable. Please note that each
>> follow
>> up response may take approximately 2 business days as the support
>> professional working with you may need further investigation to reach the
>> most efficient resolution. The offering is not appropriate for situations
>> that require urgent, real-time or phone-based interactions or complex
>> project analysis and dump analysis issues. Issues of this nature are best
>> handled working with a dedicated Microsoft Support Engineer by contacting
>> Microsoft Customer Support Services (CSS) at:
>>
>> http://msdn.microsoft.com/subscriptions/support/default.aspx.
>>
>> ==================================================
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>
>
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
Luis F. Rodas

External


Since: Feb 25, 2008
Posts: 4



(Msg. 6) Posted: Wed Feb 27, 2008 8:24 am
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

When the request is from a remote machine the return value is in the IPv6
format. Any other way (function or anything - conversion from IPv6 to IPv4
?) so that the return value is in the IPv4 format (eg: 192.168.0.1) without
disable IPv6 ?

Best Regards,
Luis F.
(Indusoft Team)

"Bernard Cheah [MVP]" <qbernard RemoveThis @hotmail.com.discuss> wrote in message
news:OZ1rHbOeIHA.5296@TK2MSFTNGP05.phx.gbl...
> Well what's the url you request? base on the return value. it looks like
> you are querying locally.
> hence ::1 returned. Try request from a remote machine, what you get?
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://msmvps.com/blogs/bernard/
>
>
> "Luis F. Rodas" <support RemoveThis @indusoft.com> wrote in message
> news:O5Q4uqHeIHA.5552@TK2MSFTNGP06.phx.gbl...
>> Dear WenJun and Bernard,
>>
>> Thank you for your replies.
>>
>> I am running locallly on WinVista. When I run the Web Service on Win
>> Vista and the client (consumer) on another computer the returned value is
>> in the IPv6 format. Any other way (function or anything - conversion from
>> IPv6 to IPv4 ?) so that the returned value is in the IPv4 format (eg:
>> 192.168.0.1) without disable IPv6 ?
>>
>> Best Regards,
>> Luis F.
>> (Indusoft Team)
>>
>>
>> ""WenJun Zhang[msft]"" <wjzhang RemoveThis @online.microsoft.com> wrote in message
>> news:To7VjWGeIHA.4200@TK2MSFTNGHUB02.phx.gbl...
>>> Hi Luis,
>>>
>>> Could you please clarify the issue first, so we can assist on performing
>>> some tests on this.
>>>
>>> Do you mean if connecting to the IIS server(IIS6.0 or other version?)
>>> from
>>> a Vista client with IPv6 enabled, you get the result: "::1" ? Or just as
>>> Bernard mentioned, the result is by accessing local IIS 7.0 on the Vista
>>> machine?
>>>
>>> Thanks and have a nice day.
>>>
>>> Sincerely,
>>>
>>> WenJun Zhang
>>>
>>> Microsoft Online Community Support
>>>
>>> ==================================================
>>>
>>> Get notification to my posts through email? Please refer to:
>>> http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
>>> ications.
>>>
>>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>>> issues
>>> where an initial response from the community or a Microsoft Support
>>> Engineer within 1 business day is acceptable. Please note that each
>>> follow
>>> up response may take approximately 2 business days as the support
>>> professional working with you may need further investigation to reach
>>> the
>>> most efficient resolution. The offering is not appropriate for
>>> situations
>>> that require urgent, real-time or phone-based interactions or complex
>>> project analysis and dump analysis issues. Issues of this nature are
>>> best
>>> handled working with a dedicated Microsoft Support Engineer by
>>> contacting
>>> Microsoft Customer Support Services (CSS) at:
>>>
>>> http://msdn.microsoft.com/subscriptions/support/default.aspx.
>>>
>>> ==================================================
>>>
>>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>>
>>
>>
>
>
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 357



(Msg. 7) Posted: Thu Feb 28, 2008 12:46 am
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Consider this -- suppose your server is IPv6 only. How do you expect
to even get an IPv4 return value?

Thus, IIS does the reasonable thing of "return the IP in whatever
interface the client used to reach it".

If you want to always convert (keeping in mind my caveat mentioned
earlier) then you should do the DNS lookup yourself (GetNameInfoW).

In other words, if you want the return value in IPv4 format, only
allow IPv4. If you allow IPv6 into the mix, then you need to accept
the fact that you may not be able to get an IPv4 equivalent IP or it
takes a great cost (i.e. DNS lookup) to do so.

I do not fully understand why you need to convert or even correlate
IPs at request time. If it's for log files you can handle that via
post-processing, and if it is for Authorization, don't do it -- it is
not a good ide.


//David
http://w3-4u.blogspot.ocm
http://blogs.msdn.com/David.Wang
//






On Feb 27, 3:24 am, "Luis F. Rodas" <supp....RemoveThis@indusoft.com> wrote:
> When  the request is from a remote machine the return value is in the IPv6
> format. Any other way (function or anything - conversion from IPv6 to IPv4
> ?) so that the return value is in the IPv4 format (eg: 192.168.0.1) without
> disable IPv6 ?
>
> Best Regards,
> Luis F.
> (Indusoft Team)
>
> "Bernard Cheah [MVP]" <qbern....RemoveThis@hotmail.com.discuss> wrote in messagenews:OZ1rHbOeIHA.5296@TK2MSFTNGP05.phx.gbl...
>
>
>
> > Well what's the url you request? base on the return value. it looks like
> > you are querying locally.
> > hence ::1 returned. Try request from a remote machine, what you get?
>
> > --
> > Regards,
> > Bernard Cheah
> >http://www.iis.net/
> >http://msmvps.com/blogs/bernard/
>
> > "Luis F. Rodas" <supp....RemoveThis@indusoft.com> wrote in message
> >news:O5Q4uqHeIHA.5552@TK2MSFTNGP06.phx.gbl...
> >> Dear WenJun and Bernard,
>
> >> Thank you for your replies.
>
> >> I am running locallly on WinVista. When I run the Web Service on Win
> >> Vista and the client (consumer) on another computer the returned value is
> >> in the IPv6 format. Any other way (function or anything - conversion from
> >> IPv6 to IPv4 ?) so that the returned value is in the IPv4 format (eg:
> >> 192.168.0.1) without disable IPv6 ?
>
> >> Best Regards,
> >> Luis F.
> >> (Indusoft Team)
>
> >> ""WenJun Zhang[msft]"" <wjzh....RemoveThis@online.microsoft.com> wrote in message
> >>news:To7VjWGeIHA.4200@TK2MSFTNGHUB02.phx.gbl...
> >>> Hi Luis,
>
> >>> Could you please clarify the issue first, so we can assist on performing
> >>> some tests on this.
>
> >>> Do you mean if connecting to the IIS server(IIS6.0 or other version?)
> >>> from
> >>> a Vista client with IPv6 enabled, you get the result: "::1" ? Or just as
> >>> Bernard mentioned, the result is by accessing local IIS 7.0 on the Vista
> >>> machine?
>
> >>> Thanks and have a nice day.
>
> >>> Sincerely,
>
> >>> WenJun Zhang
>
> >>> Microsoft Online Community Support
>
> >>> ==================================================
>
> >>> Get notification to my posts through email? Please refer to:
> >>>http://msdn.microsoft.com/subscriptions/managednewsgroups/default.asp....
> >>> ications.
>
> >>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
> >>> issues
> >>> where an initial response from the community or a Microsoft Support
> >>> Engineer within 1 business day is acceptable. Please note that each
> >>> follow
> >>> up response may take approximately 2 business days as the support
> >>> professional working with you may need further investigation to reach
> >>> the
> >>> most efficient resolution. The offering is not appropriate for
> >>> situations
> >>> that require urgent, real-time or phone-based interactions or complex
> >>> project analysis and dump analysis issues. Issues of this nature are
> >>> best
> >>> handled working with a dedicated Microsoft Support Engineer by
> >>> contacting
> >>> Microsoft Customer Support Services (CSS) at:
>
> >>>http://msdn.microsoft.com/subscriptions/support/default.aspx.
>
> >>> ==================================================
>
> >>> This posting is provided "AS IS" with no warranties, and confers no
> >>> rights.- Hide quoted text -
>
> - Show quoted text -
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
Bernard Cheah [MVP]

External


Since: May 31, 2005
Posts: 346



(Msg. 8) Posted: Thu Feb 28, 2008 1:03 pm
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mmm.. i tested. it returns ipv4..... and I can't get it return in v6 format.
test code.
<%
Dim UserIPAddress
UserIPAddress = Request.ServerVariables("REMOTE_ADDR")

response.write UserIPAddress

%>


between vista sp1 and w2k8 rc1... always ipv4 format Smile
anyway see if this helps
http://aspnet.4guysfromrolla.com/articles/071807-1.aspx




--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/


"Luis F. Rodas" <support DeleteThis @indusoft.com> wrote in message
news:%23Z0RKNTeIHA.5164@TK2MSFTNGP03.phx.gbl...
> When the request is from a remote machine the return value is in the IPv6
> format. Any other way (function or anything - conversion from IPv6 to IPv4
> ?) so that the return value is in the IPv4 format (eg: 192.168.0.1)
> without disable IPv6 ?
>
> Best Regards,
> Luis F.
> (Indusoft Team)
>
> "Bernard Cheah [MVP]" <qbernard DeleteThis @hotmail.com.discuss> wrote in message
> news:OZ1rHbOeIHA.5296@TK2MSFTNGP05.phx.gbl...
>> Well what's the url you request? base on the return value. it looks like
>> you are querying locally.
>> hence ::1 returned. Try request from a remote machine, what you get?
>>
>> --
>> Regards,
>> Bernard Cheah
>> http://www.iis.net/
>> http://msmvps.com/blogs/bernard/
>>
>>
>> "Luis F. Rodas" <support DeleteThis @indusoft.com> wrote in message
>> news:O5Q4uqHeIHA.5552@TK2MSFTNGP06.phx.gbl...
>>> Dear WenJun and Bernard,
>>>
>>> Thank you for your replies.
>>>
>>> I am running locallly on WinVista. When I run the Web Service on Win
>>> Vista and the client (consumer) on another computer the returned value
>>> is in the IPv6 format. Any other way (function or anything - conversion
>>> from IPv6 to IPv4 ?) so that the returned value is in the IPv4 format
>>> (eg: 192.168.0.1) without disable IPv6 ?
>>>
>>> Best Regards,
>>> Luis F.
>>> (Indusoft Team)
>>>
>>>
>>> ""WenJun Zhang[msft]"" <wjzhang DeleteThis @online.microsoft.com> wrote in message
>>> news:To7VjWGeIHA.4200@TK2MSFTNGHUB02.phx.gbl...
>>>> Hi Luis,
>>>>
>>>> Could you please clarify the issue first, so we can assist on
>>>> performing
>>>> some tests on this.
>>>>
>>>> Do you mean if connecting to the IIS server(IIS6.0 or other version?)
>>>> from
>>>> a Vista client with IPv6 enabled, you get the result: "::1" ? Or just
>>>> as
>>>> Bernard mentioned, the result is by accessing local IIS 7.0 on the
>>>> Vista
>>>> machine?
>>>>
>>>> Thanks and have a nice day.
>>>>
>>>> Sincerely,
>>>>
>>>> WenJun Zhang
>>>>
>>>> Microsoft Online Community Support
>>>>
>>>> ==================================================
>>>>
>>>> Get notification to my posts through email? Please refer to:
>>>> http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
>>>> ications.
>>>>
>>>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>>>> issues
>>>> where an initial response from the community or a Microsoft Support
>>>> Engineer within 1 business day is acceptable. Please note that each
>>>> follow
>>>> up response may take approximately 2 business days as the support
>>>> professional working with you may need further investigation to reach
>>>> the
>>>> most efficient resolution. The offering is not appropriate for
>>>> situations
>>>> that require urgent, real-time or phone-based interactions or complex
>>>> project analysis and dump analysis issues. Issues of this nature are
>>>> best
>>>> handled working with a dedicated Microsoft Support Engineer by
>>>> contacting
>>>> Microsoft Customer Support Services (CSS) at:
>>>>
>>>> http://msdn.microsoft.com/subscriptions/support/default.aspx.
>>>>
>>>> ==================================================
>>>>
>>>> This posting is provided "AS IS" with no warranties, and confers no
>>>> rights.
>>>>
>>>
>>>
>>
>>
>
>
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
WenJun Zhang[msft]

External


Since: Dec 16, 2005
Posts: 229



(Msg. 9) Posted: Fri Feb 29, 2008 4:03 am
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Luis,

Actually the behavior hasn't been changed since Windows 2003 IIS6.0 with
IPv6 enabled. See a former test below:

I created a simple paged named foo.aspx which contained the following code
and put it on my Win2K3 server with IPv6 enabled which shows what the
addresses can look like. ("::1" is basically a shortcut that means the
local machine. It isn't an error.)

<%
Response.Write("LOCAL_ADDR = ");
Response.Write(Request.ServerVariables["LOCAL_ADDR"]);

Response.Write("<br>");

Response.Write("REMOTE_ADDR = ");
Response.Write(Request.ServerVariables["REMOTE_ADDR"]);
%>

When I hit this page via http://localhost/UsrTechSmokeTest/foo.aspx I get
the following results:

LOCAL_ADDR = ::1
REMOTE_ADDR = ::1

When I hit this page via http://johnbea00/UsrTechSmokeTest/foo.aspx from
johnbea00 I get the following results:

LOCAL_ADDR = fe80::201:3fffebc:9750%4
REMOTE_ADDR=fe80::201:3fffebc:9750%4

When I hit this page via http://johnbea00/UsrTechSmokeTest/foo.aspx from
johnbea02 (an XP machine without IPv6 enabled) I get the following results:

LOCAL_ADDR = 157.55.41.84
REMOTE_ADDR = 157.55.41.17


Please update here if you have any further question on this.

Have a nice weekend.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
Luis F. Rodas

External


Since: Feb 25, 2008
Posts: 4



(Msg. 10) Posted: Fri Feb 29, 2008 2:15 pm
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for all replies!

Best Regards,
Luis F.
(Indusoft Team)

""WenJun Zhang[msft]"" <wjzhang.DeleteThis@online.microsoft.com> wrote in message
news:11$lNgoeIHA.360@TK2MSFTNGHUB02.phx.gbl...
> Hi Luis,<BR>
> <BR>
> Actually the behavior hasn't been changed since Windows 2003 IIS6.0
with <BR>
> IPv6 enabled. See a former test below:<BR>
> <BR>
> I created a simple paged named foo.aspx which contained the following
code <BR>
> and put it on my Win2K3 server with IPv6 enabled which shows what the
<BR>
> addresses can look like. ("::1" is basically a shortcut that
means the <BR>
> local machine. It isn't an error.)<BR>
> <BR>
> <%<BR>
> Response.Write("LOCAL_ADDR = ");<BR>
> Response.Write(Request.ServerVariables["LOCAL_ADDR"]);<BR>
> <BR>
> Response.Write("<br>");<BR>
> <BR>
> Response.Write("REMOTE_ADDR = ");<BR>
> Response.Write(Request.ServerVariables["REMOTE_ADDR"]);<BR>
> %><BR>
> <BR>
> When I hit this page via http://localhost/UsrTechSmokeTest/foo.aspx I
get <BR>
> the following results:<BR>
> <BR>
> LOCAL_ADDR = ::1<BR>
> REMOTE_ADDR = ::1<BR>
> <BR>
> When I hit this page via http://johnbea00/UsrTechSmokeTest/foo.aspx
from <BR>
> johnbea00 I get the following results:<BR>
> <BR>
> LOCAL_ADDR = fe80::201:3fffebc:9750%4<BR>
> REMOTE_ADDR=fe80::201:3fffebc:9750%4<BR>
> <BR>
> When I hit this page via http://johnbea00/UsrTechSmokeTest/foo.aspx
from <BR>
> johnbea02 (an XP machine without IPv6 enabled) I get the following
results:<BR>
> <BR>
> LOCAL_ADDR = 157.55.41.84<BR>
> REMOTE_ADDR = 157.55.41.17<BR>
> <BR>
> <BR>
> Please update here if you have any further question on this.<BR>
> <BR>
> Have a nice weekend.<BR>
> <BR>
> Sincerely,<BR>
> <BR>
> WenJun Zhang<BR>
> <BR>
> Microsoft Online Community Support<BR>
> <BR>
> ==================================================<BR>
> <BR>
> Get notification to my posts through email? Please refer to: <BR>
>
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx...tif<>
> ications.<BR>
> <BR>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues <BR>
> where an initial response from the community or a Microsoft Support
<BR>
> Engineer within 1 business day is acceptable. Please note that each
follow <BR>
> up response may take approximately 2 business days as the support <BR>
> professional working with you may need further investigation to reach
the <BR>
> most efficient resolution. The offering is not appropriate for
situations <BR>
> that require urgent, real-time or phone-based interactions or complex
<BR>
> project analysis and dump analysis issues. Issues of this nature are
best <BR>
> handled working with a dedicated Microsoft Support Engineer by
contacting <BR>
> Microsoft Customer Support Services (CSS) at:<BR>
> <BR>
> http://msdn.microsoft.com/subscriptions/support/default.aspx.<BR>
> <BR>
> ==================================================<BR>
> <BR>
> This posting is provided "AS IS" with no warranties, and
confers no rights.<BR>
> <BR>
>
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
WenJun Zhang[msft]

External


Since: Dec 16, 2005
Posts: 229



(Msg. 11) Posted: Mon Mar 03, 2008 5:45 am
Post subject: Re: REMOTE_ADDR and Windows Vista [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You are welcome Luis.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 >> Stay informed about: REMOTE_ADDR and Windows Vista 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]