Lub hom phiaj ntawm localhost yog dab tsi?
Lub hom phiaj ntawm localhost yog dab tsi?

Video: Lub hom phiaj ntawm localhost yog dab tsi?

Video: Lub hom phiaj ntawm localhost yog dab tsi?
Video: Lis Yaj Pov : Lub Hom Phiaj 2024, Tej zaum
Anonim

Hauv computer network, localhost yog hostname uas txhais tau tias lub computer no. Nws yog siv los nkag mus rau cov kev pabcuam hauv lub network uas khiav ntawm tus tswv tsev ntawm lub loopback network interface. Sing the loopback interface bypasses any local network interfacehardware.

Ib yam li ntawd, tib neeg nug, localhost txhais li cas?

" Localhost "yog hais txog lub khoos phis tawj hauv zos uas aprogram tab tom ua haujlwm. Piv txwv li, yog tias koj tab tom khiav Webbrowser ntawm koj lub computer, koj lub computer raug suav tias yog " localhost "Lub tshuab hauv zos txhais tau tias" localhost , "uas muab nws qhov chaw nyob IP ntawm 127.0.0.1.

Tom qab ntawd, lo lus nug yog, puas localhost siv Internet? Localhost yog ib txwm koj lub computer. Koj lub computer yog tham nrog nws tus kheej thaum koj hu rau localhost . Koj lub computer tsis tas yuav qhia ncaj qha rau qhov tus tswv tsev hauv zos . Hauv koj tus kheej network localhost muaj qhov chaw nyob IP txawv xws li 192.168.0.1.(rau feem ntau) uas yog txawv rau koj siv ntawm internet.

Hauv qhov no, qhov 127.0 0.1 IP chaw nyob yog dab tsi thiab nws siv rau dab tsi?

127.0 . 0.1 yog lub loopback Internetprotocol ( IP ) chaw nyob kuj hu ua "localhost." Cov chaw nyob yog siv rau tsim ib IP kev twb kev txuas mus rau tib lub tshuab los yog computerbeing siv los ntawm tus neeg siv kawg.

Kev siv localhost yog dab tsi?

Nyob rau hauv yuav luag tag nrho cov networking systems, localhost siv tus IP chaw nyob 127.0.0.1. Qhov ntawd yog qhov feem ntau siv IPv4 "loopback chaw nyob" thiab nws tau tshwj tseg rau lub hom phiaj ntawd.

Pom zoo: