Serghei Amelian wrote:
Vezi ca esti un pic confuzat :-) Tu ai server de nume, care iti rezolva
localhost-ul. Daca nu ai server de nume "host localhost" nu
functioneaza. Si atunci intra in actiune /etc/hosts care zice ca
"localhost = ::1".
#cat /etc/hosts
::1 localhost
127.0.0.1 localhost localhost
cp#
cp#
cp# ndc stop
cp#
cp#
cp# host localhost
^C (timeout aici)
cp#
cp# telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^C
#
Deci iata ca merge si cand nameserver e oprit si in /etc/hosts e setat ::1.
Intr-adevar, telnet localhost 80 nu va merge in acest caz.
Am sa repet ceea ce a spus Paul:
Paul: ping rezolva localhost
Paul: telnet localhost 80 - se conecteaza
Paul: telnet 127.0.0.1 80 - nu
Deci, Paul nu a spus ca nu merge telnet localhost (ceea ce, asa cum bine
ati explicat anterior, nu va merge cu ::1 si named oprit), ci a spus ca
dimpotriva, telnet localhost merge, dar telnet 127.0.0.1 nu..
Cu stima,
--
Alin-Adrian Anton
Spintech Systems
GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E)
gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E
__________________________________________________________
Send 'unsubscribe rofug' to listar-gQFem4m/dK4@xxxxxxxxxxxxxxxx to unsubscribe
|