On Thu, 29 Jul 2004 23:18:24 +0300, "yufufi" <(E-Mail Removed)>
wrote:
>what is the difference between (what is going on at the background ?)
>http://localhost/
Localhost resolves to 127.0.0.1, on all systems, and is a designation
for "the physical computer I'm sitting at". It won't reach a
different system, because that system can never be the local host.
>http://computer_name/
ComputerName is a NetBIOS name, not a TCP/IP name, and resolves
through netBIOS. This means Cache first, then WINS, Broadcast and
LMHosts before trying Hosts and finally DNS to resolve. If you don't
have a NetBIOS name resolution connection between systems, it won't
work.
>http://ip/ (like http://195.174.86.185)
The IP of the system. This is the universal address, and a name
resolves to this, so using it bypasses any name resolution and goes
directly to that address, assuming it is reachable from the client
system.
>one thing I found out is , in a local network environment. If I point my
>links to http://computer_name/index.aspx people trying to access the page
>have to log on but when I go with http://ip/index.aspx their windows logon
>is automatically recognized ???
That's a client setting. IE won't pass credentials for hosts it
doesn't know are in the trusted network. Add the system name to the
Intranet security zone in IE and it will work fine. It will also work
if the SystemName is the same as the DNS host name and both client and
server are in the same domain.
Jeff