|
-
August 29th, 2001, 08:03 AM
#1
localhost
Hi,
In the browser when i enter localhost it gives error ,i have to enter full ip address to start home page or anything else.
When i use localhost it gives error:
///////////////////////////
HTTP 404 - File not found
Internet Explorer
///////////////////////////
Can anybody suggest on that
-
August 29th, 2001, 08:08 AM
#2
Re: localhost
In the windows directory, there should be a file called hosts, just hosts no extension, if it isn't there, rename hosts.sam to hosts. Edit the file using notepad and at the bottom, add following line
127.0.0.1 localhost
where 127.0.0.1 is your IP address
normally, 127.0.0.1 is always a valid IP address for your pc, since it is used for loopback.
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
-
August 29th, 2001, 09:46 AM
#3
Re: localhost
Hi,
thanx for reply,
i have two files on that location one is hosts and other is imhosts.sam,in hosts last line is
127.0.01 localhost
In imhosts.sam only comments are there.
But still localhost is not working.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|