The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows XP

(Solved) - can i bring stupid issues or what? hosts file

(4 posts)
  • Started 4 years ago by bobro
  • Latest reply from Xhi
  • Topic Viewed 707 times

Posts: 384

Hosts file doesnt seem to be working... reportsvr2

...this is in the host file

reply from :)

ping reportsvr2
no response from :(

The machine is on a network and most other machines on the network are working only about 2 so far dont work...
it needs to be a name not an ip adress there is the name linked in to the sofware.

i have tried flushing the DNS and i have tried resetting the winsock cataloug (not sure what that is adsacly), disabled firewall, enabled netbios, checked there is no proxy... it is on a domain that i dont control, and there are group policys i beleive but have no access to them, strange why not everyone in the office is suffering from this issue tho...

anything else anyone can suggest?

Posted 4 years ago
Posts: 6259

That isn't a HOSTS file? There is a HOSTS.SAM (or LMHOSTS.SAM) in C:\Windows\System32\drivers\etc, and that is where the HOSTS should be too. HOSTS should be built on that HOSTS.SAM file.

Are the other machines using the same file?

Irv S.

Posted 4 years ago
Posts: 384

just for ref...

i did this... reportsrv2.domain.ds reportsrv2

and it worked... i did this in the hosts file

Irv, not sure what you where getting at... are you telling me i shouldnt us the hosts file but should use these others you mention?? do they do the same thing as the hosts?

Accepted Answer · Posted 4 years ago
Posts: 6298

I know you are talking about a domain, but on my LAN I don't need the devices to be listed in the hosts file, just pinging them by name gets a return.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\System32>ping upstairs

Pinging Upstairs [fe80::99d3:cfd7:9f5e:ae8f%10] with 32 bytes of data:
Reply from fe80::99d3:cfd7:9f5e:ae8f%10: time=1ms
Reply from fe80::99d3:cfd7:9f5e:ae8f%10: time=1ms
Reply from fe80::99d3:cfd7:9f5e:ae8f%10: time=2ms
Reply from fe80::99d3:cfd7:9f5e:ae8f%10: time=2ms

Ping statistics for fe80::99d3:cfd7:9f5e:ae8f%10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms


Posted 4 years ago

Topic Closed

This topic has been closed to new replies.