Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> 127.0.0.1 a localhost
langus4101
post
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 23.01.2005

Ostrzeżenie: (0%)
-----


Witam,

zainstalowałem sobie WAMP serwer na Windows Vista ;-) no i...
po wpisaniu localhost wyskakuje (IE), że nie może wyświetlić strony, a po wpisaniu 127.0.0.1 wszystko działa OK.
opera wyświetla "localhost"... Firefox nie - tylko 127.0.0.1

O co tu chodzi?

Proszę o pomoc.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
misieks
post
Post #2





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 18.11.2008

Ostrzeżenie: (0%)
-----


Witam. Ponawiam pytanie. Zainstalowalem sobie WAMPa. I teraz gdy wpisuje 127.0.0.1 to działa, natomiast wpisujac localhost juz nie :/
Dodam ze mam Viste (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

Tutaj jest plik z C:\Windows\System32\drivers\etc

Kod
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
::1             localhost


Czy ktos wie co mam zrobic?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 19:00