Windows XP Hosts file doesn't work
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
Windows XP Hosts file doesn't work

 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Network
Author Message
Nullpt
Guest





Posted: Fri Sep 30, 2005 12:26 am    Post subject: Windows XP Hosts file doesn't work Reply with quote

Hello folks!

I'm having a problem with my Windows installation. My hosts, services,
networks and protocol database files (C:\WINDOWS\system32\drivers\etc) are
not working.

The HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters
key has the DataBasePath set to %SystemRoot%\System32\drivers\etc. When I
echo this string in cmd it shows me the correct path.

Examples:

The hosts file contain:

127.0.0.1 localhost
127.0.0.1 localhost2
172.26.34.60 other

If i ping localhost it works because it's set in the registry (NV Hostname
string).

If I ping localhost2 it doesnt work, if I ping other it doesn't work either.
If I ping 172.26.34.60 it works.

The services file doesn't work either.

ftp 21/tcp #FTP. control

If I do "telnet 172.26.34.60 21" it works. If I do "telnet 172.26.34.60 ftp"
it doesn't work.


Does anyone have a clue on this one? Thanks for your help!
Back to top
Matthew
Guest





Posted: Tue Nov 01, 2005 9:26 am    Post subject: RE: Windows XP Hosts file doesn't work Reply with quote

Hi

my XP suddenly fails to resolve the hosts file, i check DataBasePath in
regedit is correct . Is your problem resolved ? If yes, do you mind share
the solutions with me?

Thanks! Matthew
Back to top
kaleeswarans



Joined: 07 Jun 2006
Posts: 2

Posted: Wed Jun 07, 2006 4:04 am    Post subject: hosts file not working. I had the same problem Reply with quote

I had the same problem. My problem was, my PC had two WINXP installations. The active windir was windows.0. So the hosts file to be used was actually c:\windows.0\system32\drivers\etc\hosts.
-kali
Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Network All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB