dminches;258076 Wrote: 
> 
> 2 - If my computer has a static IP is there any difference between
> loading 127.0.0.1 or the computer's IP address to access slimserver?

The first question has been well answered but this is just to clarify
on the second question.  Prepare for more information than you really
wanted :)

(The simple bit)
127.0.0.1 (which is named localhost) is always 'this machine'.
If you are on a machine with an IP address of, say, 192.168.0.1 then,
from that machine, you can generally use either 192.168.0.1 or
127.0.0.1 interchangeably.

(The 'more than you wanted to know' bit)
There are 2 circumstances I can think of where the 2 addresses will
give different results:

1 - This depends on how the operating system (actually the IP stack)
handles the addresses.  I have seen systems where using 127.0.0.1 works
but the 'real' address does not - if the network cable to the machine
has been unplugged.
When accessing the 'real' address, the IP stack talks to the network
card, which reports that it has no connection.  The call fails.
When accessing 127.0.0.1, the IP stack realises that it is local, does
NOT talk to the network card, and the call succeeds.

2 - If a machine has more than one network card in use, they will have
different addresses.  This is called a 'multi homed host'.  Say the
addresses are 192.168.0.1 and 192.168.0.2.  Now some software is
written such that it will only respond to calls on one specific IP
address - (I've no idea about Slimserver, I'm afraid).  If you use one
of the specific addresses, then you know that software listening on
that address will respond.  If you use 127.0.0.1, you have no control
over which IP address this will go to, so you don't know if the
software will respond.

Hope you're still awake :)


-- 
gcogger
------------------------------------------------------------------------
gcogger's Profile: http://forums.slimdevices.com/member.php?userid=12954
View this thread: http://forums.slimdevices.com/showthread.php?t=42187

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to