Classic ASP - REMOTE_HOST variable

rrm38

New Member
I have a classic asp application (intranet based) that uses the following statement:\[code\]Host = request.servervariables("REMOTE_HOST")\[/code\]The host variable is then passed to a VB6 function, which enters the address into a database table. I have setup the application on my local PC, which involves publishing the classic ASP app to IIS7 and running the VB6 app in debug mode. If I use the app on my local PC by navigating to: \[code\]http://localhost/website\[/code\], I have noticed the Host is similar to the following: "::1" when I connect locally, but when a remote user access the application, the IP address is correct e.g. 172.x.y.z. What is ::1?
 
Back
Top