Solved

can't ping a pc by computer name

Posted on 2014-09-10
5
296 Views
Last Modified: 2014-09-20
had a windows 7 Machine A that can ping by IP but not by the computer name
When ping from MachineA,
C:\>ping hostname
Ping request could not find host hostname. Please check the name and try again.

C:\>ping MachineA

Pinging MachineA [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

When ping MachineA from other pcs
C:\> ping MachineA
Ping request could not find host MachineA. Please check the name and try again.
0
Comment
Question by:grnow
  • 3
  • 2
5 Comments
 
LVL 21

Assisted Solution

by:RK
RK earned 100 total points
ID: 40314591
Hi,

What does the hosts file shows? c:/windows/system32/drivers/etc/hosts (open with notepad). Usually it should have 127.0.0.1       localhost. Is it appearing in it? if not, add the entry and see it works?

Also, DNS client service>>stop/ start it and check it makes any difference.
0
 
LVL 21

Assisted Solution

by:RK
RK earned 100 total points
ID: 40314601
0
 

Author Comment

by:grnow
ID: 40315208
hosts file show

#localhost name resolution is handled within DNS itself
# 127.0.0.1   localhost
#  1::1            localhost

had followed the above article method but still the same
0
 

Accepted Solution

by:
grnow earned 0 total points
ID: 40323251
ended up reformatting the pc as a last method to resolve it
0
 

Author Closing Comment

by:grnow
ID: 40334213
other suggested methods does not work for this particular scenario. reformatting is a faster way at times to cut down more time on troubleshooting.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question