ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
localhost - Wikipedia, the free encyclopedia

localhost

From Wikipedia, the free encyclopedia

In computing, within the context of a TCP/IP network such as the Internet, localhost is a reserved name meaning this computer. It is used where one would otherwise specify the name or address of a computer in the network. For example, directing a web browser to http://localhost will display the home page of the web site (if any) being served from the computer running the browser. A common basic test of the TCP/IP protocol stack on a machine is to enter this command at a shell prompt:

ping localhost

localhost always translates to the loopback IP address 127.0.0.1 in IPv4, or ::1 in IPv6 (see below).

Being able to communicate with one's local machine as though it were a remote machine is useful for the purposes of testing, and also to contact normally remote services (such as game servers) that happen to reside on the local machine.

Contents

[edit] Related IETF specifications

IETF document "Special-Use IPv4 Addresses" (RFC 3330) describes the IPv4 address block 127.0.0.0/8 as being reserved IPv4 for loopback.

This address block will not be allocated or assigned to any organization or ISP. Any packet with an address from this address block cannot appear outside of a host system. Within a host system, the loopback interface is normally assigned the address '127.0.0.1' with subnetwork mask '255.0.0.0'. This makes the routing table of the local system set with a routing entry of '127.0.0.0:4664', so that packets destined to any address from the '127.0.0.0/8' block would be routed internally within the local system.

On the other hand, only one IPv6 address ::1/128 (that is to say, the address with a one at its least significant bit and zero otherwise) is specified as loopback address in IPv6 addressing architecture specification of RFC 3513.

In RFC 3513, the specification says: "The loopback address must not be used as the source address in IPv6 packets that are sent outside of a single node. An IPv6 packet with a destination address of loopback must never be sent outside of a single node and must never be forwarded by an IPv6 router. A packet received on an interface with destination address of loopback must be dropped."

[edit] Humor

  • An urban legend involving 127.0.0.1 is often circulated among the more technical computer related forums on the web. The story involves a protagonist often referred to as "The World's Worst Computer Hacker". The story generally involves the hacker hacking himself when tricked into using 127.0.0.1 as the IP address to hack into.[1][2]
  • In the same vein, 127.0.0.1 is often used as an IP address given to inexperienced computer users as a practical joke. Another story involves a user who, after finding that pinging 127.0.0.1 pings his computer, tells all of his associates that his IP is 127.0.0.1.
  • ThinkGeek and Computer Gear both sell a T-shirt and door mat which read "There's no place like 127.0.0.1" Which means the same as "There's no place like home."[3]

[edit] References

[edit] External links


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -