localhost - это хост компьютера с которого и делается запрос. 127.0.0.1 - то же самое, только это уже айпи адрес который ведет на этот же компьютер, с которого делается запрос.
Localhost and 127.0.0.1. ... If WAMP or XAMPP is enabled and enter 127.0.0.1 in your browser it will show the result of the file you are hosting.
{"1_3zaf0":{"state":{"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"1_3zafw01-0-1"},"ui":"desktop","service":"web","reqid":"1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL","fast":{"name":"branding"}}}}},"type":"branding"},"1_3zaf1":{"state":{"visibleItems":[{"content":[{"type":"text","text":"Это довольно просто."}]},{"content":[{"type":"text","text":"localhost - это хост компьютера с которого и делается запрос. 127.0.0.1 - то же самое, только это уже айпи адрес который ведет на этот же компьютер, с которого делается запрос."}]}],"path":{"items":[{"text":"yandex.ru"}],"favicon":{"index":0,"pageNumber":0,"size":"m","entry":"1"}},"url":"https://yandex.ru/q/question/obiasnite_dostupnym_iazykom_chto_takoe_0_82a1a495/","favicon":{"index":0,"pageNumber":0,"size":"m","entry":"1"},"headline":"«Что такое localhost или 127.0.0.1, как этим пользоваться...","titleLines":1,"shouldWrapFold":false,"shouldOpenAllCollapsers":false,"disableReadMore":false,"hasA11yHeader":false,"siteSource":{"url":"https://yandex.ru/q/question/obiasnite_dostupnym_iazykom_chto_takoe_0_82a1a495/","title":{"title":"«Что такое localhost или 127.0.0.1, как этим пользоваться...","lines":1},"subtitle":{"path":{"items":[{"text":"yandex.ru"}],"favicon":{"index":0,"pageNumber":0,"size":"m","entry":"1"}}}},"footer":{"report":{"featureInfo":{"type":"Факт","subtype":"Расширенный факт","fact":{"type":"Расширенный факт","isText":true}},"feature":"","checkBoxLabels":[]},"addonBefore":"Kaynaktan alınan bilgiyle göre oluşturuldu"},"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"1_3zafw02-0-1"},"ui":"desktop","service":"web","reqid":"1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL","fast":{"name":"rich_fact"}}}}},"type":"rich_fact"}}
In most cases, localhost is just shorthand that refers to 127.0.0.1 by default. It can be changed though — if you edit your hosts file, you can make localhost...
Localhost (127.0.0.1) is a well-known term in computer networking. Still, if you are a beginner in web development or web hosting, learning about localhost is...
{"2_1r2k":{"state":{"logo":{"href":"//yandex.com.tr","isForeign":true},"form":{"action":"/search","searchLabel":"Bul","hiddenInputs":[{"name":"lr","value":20815}]},"actions":{"advancedSearch":{"checked":false,"ariaLabel":"Gelişmiş arama"},"moreButtonProps":{"ariaLabel":"Daha fazla"},"cbir":{"name":"cbir","label":"Поиск по картинке","infoUrl":"//yandex.ru/promo/photosearch/index?source=landingdesk","isMacOS":false}},"userSection":{"loggedIn":false,"loginProps":{"loginUrl":"https://passport.yandex.com.tr/auth?retpath=%2F&origin=serp_desktop_auth_new","loginText":"Giriş yap","burgerAriaLabel":"Menü"}},"navigation":{"tabs":[{"id":"www","label":"Arama","url":"//yandex.com.tr","params":{"source":"tabbar"},"target":""},{"id":"images","label":"Görsel","url":"//yandex.com.tr/gorsel/search","params":{"text":"[$query]","noreask":"[$noreask]","nomisspell":"[$nomisspell]","parent-reqid":"[$reqid]","from":"tabbar"}},{"id":"video","label":"Video","url":"//yandex.com.tr/video/search","params":{"text":"[$query]","parent-reqid":"[$reqid]","from":"tabbar"}},{"id":"maps","label":"Haritalar","url":"//yandex.com.tr/harita","params":{"text":"[$query]","source":"serp_navig"}},{"id":"translate","label":"Çeviri","url":"//ceviri.yandex.com.tr","params":{"text":"[$query]","from":"tabbar"}}],"selectedTabId":"www","fixedTabsCount":1},"context":{"query":"localhost 127.0.0.1","reqid":"1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL","noreask":"1","lr":"20815","counters":{"type":"b","data":{"$header":"0_3zafz000","logo":"0_3zafz001","login":"0_3zafz003","usermenu":"0_3zafz004","market-cart":"0_3zafz006","more-button":"0_3zafz007","cbir":"0_3zafz008","$navigation":"0_3zafz009","item":"0_3zafz00i","tab-www":"0_3zafz00b","tab-images":"0_3zafz00d","tab-video":"0_3zafz00f","tab-maps":"0_3zafz00h","tab-translate":"0_3zafz00j"}}},"loggedIn":false,"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"0_3zafw01-0-1"},"ui":"desktop","service":"web","reqid":"1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL","fast":{"name":"header-desktop"}}}}},"type":"header-desktop"},"2_3zaf0":{"state":{"queryUrl":"/gorsel/search?text=localhost%20127.0.0.1&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","favicon":{"index":5,"pageNumber":0,"size":"m"},"images":[{"src":"//avatars.mds.yandex.net/i?id=f5e750fa68f1a31c5b00bf91f655947dbc2375ef-10639206-images-thumbs&n=13","width":185,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Fvpautinu.com%2Fwp-content%2Fuploads%2F2019%2F09%2F7-Ochistka-fajla-hosts.jpg&pos=0&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"f5e750fa68f1a31c5b00bf91f655947dbc2375ef-10639206-images-thumbs","docid":"ZF943F0C91DA3BBDC","crc":"1369376628494295474","label":"Görsel: Client connect 127.0 0.1","origWidth":728,"origHeight":445,"lazy":false,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=73663450c95c4cbe7c05ca823d4135e714f7255f-9843011-images-thumbs&n=13","width":158.1,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Fi1.wp.com%2Fvirtmachine.ru%2F8XSDJKGA%2F161130073121.jpg&pos=1&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"73663450c95c4cbe7c05ca823d4135e714f7255f-9843011-images-thumbs","docid":"ZB0FE0E81FE8F97EA","crc":"12821767226236026789","label":"Görsel: Selezione congiunta Vasca coperta 127.0 0.1 rad msn com","origWidth":643,"origHeight":468,"lazy":false,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=30ac8583a81db68f6a6bd9254ce536579f81a48a4ee73d14-8375627-images-thumbs&n=13","width":185,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Fi.ytimg.com%2Fvi%2FT43bHjqr0mM%2Fmaxresdefault.jpg&pos=2&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"30ac8583a81db68f6a6bd9254ce536579f81a48a4ee73d14-8375627-images-thumbs","docid":"Z71ACA9585ABCA639","crc":"8872677406202204555","label":"Görsel: Part 2 Byen konprann adresaj IP - YouTube","origWidth":1280,"origHeight":720,"lazy":false,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=92bb1f8cc72dcf23243dbcdbf04f6936b489ef7c-2911606-images-thumbs&n=13","width":185,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Ffossbytes.com%2Fwp-content%2Fuploads%2F2016%2F10%2Flocalhost-127.0.0.1-1200x720.jpg&pos=3&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"92bb1f8cc72dcf23243dbcdbf04f6936b489ef7c-2911606-images-thumbs","docid":"Z0DD57563CFCE56AD","crc":"7014203466389214020","label":"Görsel: Ever wondered why 127.0.0.0 IP address is assigned to","origWidth":900,"origHeight":500,"lazy":false,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=6c9c945a342d80b3b0a8f375d056a3046f1151d9-9880043-images-thumbs&n=13","width":185,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJGl8f64Ts4c%2Fmaxresdefault.jpg&pos=4&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"6c9c945a342d80b3b0a8f375d056a3046f1151d9-9880043-images-thumbs","docid":"ZD716FAA69455B0E9","crc":"12031954471068128660","label":"Görsel: Devops Sysadmins How Do I Force Localhost Resolution To Be","origWidth":1280,"origHeight":720,"lazy":false,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=5dcfb4797764cb9a8f0d6f8a1871b548d63effa88d7b61a2-13013729-images-thumbs&n=13","width":184,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Fcs4.pikabu.ru%2Fpost_img%2Fbig%2F2014%2F12%2F26%2F5%2F1419578675_406491290.jpg&pos=5&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"5dcfb4797764cb9a8f0d6f8a1871b548d63effa88d7b61a2-13013729-images-thumbs","docid":"ZFB0ACFD035B4B3DC","crc":"9254608457904296649","label":"Görsel: black background with text overlay #127.0.0.1 #simple","origWidth":2560,"origHeight":1600,"lazy":true,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=b78e39eacf0bb19484a18c3dd533545f37aeff32-10873222-images-thumbs&n=13","width":185,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Fazurplus.fr%2Fwp-content%2Fuploads%2F1610218351_Pourquoi-Localhost-IP-127001.jpg&pos=6&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"b78e39eacf0bb19484a18c3dd533545f37aeff32-10873222-images-thumbs","docid":"Z264965BB9BAD4EF4","crc":"4342392265399226092","label":"Görsel: Localhost IP Neden 127.0.0.1 mi? / nasıl Web geliştirme ile","origWidth":1000,"origHeight":461,"lazy":true,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=2ad5881f424800b4a6aff06ffed5fb390e5c0444-10762769-images-thumbs&n=13","width":185,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Ffuzeservers.ru%2Fwp-content%2Fuploads%2F0%2F3%2F7%2F03720729df30a3a70dda9c79e167ce6f.jpeg&pos=7&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"2ad5881f424800b4a6aff06ffed5fb390e5c0444-10762769-images-thumbs","docid":"ZA8208750D0CC45E2","crc":"11777022383109555480","label":"Görsel: What Is Localhost and How Is It Different from 127.0.0.1? -","origWidth":800,"origHeight":400,"lazy":true,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=57e60d6d97769696e09d8486d90c6059c56b58337bf42259-10246062-images-thumbs&n=13","width":167.4,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2Fwallpapercave.com%2Fwp%2Fwp12496071.jpg&pos=8&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"57e60d6d97769696e09d8486d90c6059c56b58337bf42259-10246062-images-thumbs","docid":"ZA0AA574AEF03E723","crc":"4015839384472648751","label":"Görsel: 127.0 0.1 connection refused","origWidth":1100,"origHeight":755,"lazy":true,"narrow":false},{"src":"//avatars.mds.yandex.net/i?id=c1b34cef81c7f8475aa4145d736635999390b9ee-9842590-images-thumbs&n=13","width":175.2,"height":115,"url":"/gorsel/search?text=localhost+127.0.0.1&img_url=https%3A%2F%2F1lag.com%2Fwp-content%2Fuploads%2F2022%2F12%2Fimage-142.png&pos=9&rpt=simage&stype=image&lr=20815&noreask=1&parent-reqid=1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL&source=serp","globalId":"c1b34cef81c7f8475aa4145d736635999390b9ee-9842590-images-thumbs","docid":"Z02F3BF23FBEBA689","crc":"13427505481676489895","label":"Görsel: Edite o arquivo de hosts do Windows para bloquear ou","origWidth":1000,"origHeight":657,"lazy":true,"narrow":false}],"rowsCount":1,"serverWidth":536,"context":{"queryText":"localhost 127.0.0.1"},"extralinks":{"feedback":{"feature":"Тематический блок картинок","checkBoxLabels":[{"value":"Несоответствие запросу"},{"value":"Порнография"},{"value":"Шокирующая или неприятная информация"},{"value":"Недостоверная информация"},{"value":"Удалите мое фото"},{"value":"Другое"}],"customMetaFields":[{"name":"docId","value":"7"}]},"directions":["bottom-end"],"hidden":true,"headerProps":{"title":"Görsel"}},"ajaxContext":{"subtype":"intent_scroller","viewType":{"rows":1}},"title":"Görsel","baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_3zafw02-0-1"},"ui":"desktop","service":"web","reqid":"1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL","fast":{"name":"images","subtype":"intent"}}}}},"type":"images","subtype":"intent_scroller"},"2_3zaf1":{"state":{"linksGroups":[{"type":"geo","links":[{"label":"Columbus","title":"Columbus","url":"//yandex.com.tr/tune/geo","logNode":{"name":"region"},"target":"_self","a11yLabel":"Bölgeniz Columbus","needRetpath":true}]},{"type":"feedback","links":[{"label":"Hata bildir","logNode":{"name":"feedback","attrs":{"behaviour":{"type":"dynamic"}}}}]},{"type":"settings","links":[{"label":"Ayarlar","url":"//yandex.com.tr/tune/search","logNode":{"name":"settings"},"target":"_self","needRetpath":true}]},{"type":"company","links":[{"label":"Hakkımızda","url":"https://company.yandex.com.tr","logNode":{"name":"about"},"target":"_blank"},{"label":"Ticari teklifler","url":"/search/direct?text=localhost%20127.0.0.1&filters_docs=direct_cm","logNode":{"name":"commercial"},"target":"_blank"},{"label":"Kariyer","url":"//yandex.com.tr/jobs/?utm_source=serp_turkie&utm_medium=footerlink&utm_content=career","logNode":{"name":"vacancy"},"target":"_blank"},{"label":"Kullanım lisansı","url":"//yandex.com.tr/legal/termsofuse/","logNode":{"name":"license"},"target":"_blank"},{"label":"Gizlilik Politikası","url":"//yandex.com.tr/legal/confidential/","logNode":{"name":"confidential"},"target":"_blank"}],"a11yHidden":true}],"reportFeedbackProps":{"feature":"Подвал","title":"Hata bildir","checkBoxLabels":[]},"isSearchApp":false,"hasExtralinks":true,"limitingSelector":".AliceFabButton","baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_3zafw0e-0-1"},"ui":"desktop","service":"web","reqid":"1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL"}}}},"type":"serp-footer"},"2_3zaf2":{"state":{"conditionLoadList":{"marketCart":false,"highchartsHighstock":false,"advProductGallery":false,"musicPlayer":false,"ecomRates":false,"photoViewer":false,"darkmodeChangeDrawer":true},"reportFeedbackBaseProps":{"initEmail":"","metaFields":{"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","userTestids":"186144,913542,1047186,1020672,1053475,1052826,1040074,1010218,1038759,1056593,1048634,1054631,1052653,1053753,865545,936724,1055236,1056979,124073,182559,43959,1058040,1047761,1006809,1036352,1057417,1038164,1047656,1052192,1056359,1058366,1048819,1047658,1058168,1051712,1053972,1037487,1053796,1056096,1044528,799270,1051549,1045239,1056044,151171,128379,287509,338390,790823,1052098,1058561,1017495,1053507,1054352,1053418,1052893","yandexuid":"9935725351720437875","uid":"0","queryText":"localhost 127.0.0.1","reqid":"1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL","searchSlices":["drawer_search_slice_cs"],"userRegionName":"Columbus","userRegionId":"20815"}},"extralinksPopupProps":{"abuseLink":"https://twitter.yandex.com.tr/search/abuse?sign=9b737033490dc70234c03a1f49c062dc&keyno=0"},"isLoggedIn":false,"userMenuDialogProps":{"flag":"skin,feedback","host":"yandex.com.tr","lang":"tr","project":"serp","queryParams":{"utm_source":"search"},"retpath":"https%3A%2F%2Ftwitter.yandex.com.tr%2Fsearch%3Fes_context%3D0oYl8Q____________ARpLMTcxOTYyOTI2Mjg5OTg2My0xMjg3NzYxMDg2OTczOTM4OTIwNi1iYWxhbmNlci1sN2xldmVsZXIta3Vici15cC12bGEtODktQkFMMgVhc3NvY6i7ruQ%26lr%3D20815%26noreask%3D1%26rq%3D1%26serp-reload-from%3Drec_bottom%26source%3Dtabbar%26text%3Dlocalhost%2B127.0.0.1%26ncrnd%3D92673","tld":"com.tr"},"baobab":{"parentNode":{"context":{"genInfo":{"prefix":"2_3zafw0f-0-1"},"ui":"desktop","service":"web","reqid":"1720437875780183-8799275893493572535-balancer-l7leveler-kubr-yp-sas-81-BAL","fast":{"name":"lazy-load"}}}}},"type":"lazy-load"}}