Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

can't ping a pc by computer name

Posted on 2014-09-10
5
Medium Priority
?
311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 23

Assisted Solution

by:Radhakrishnan R
Radhakrishnan R earned 300 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 23

Assisted Solution

by:Radhakrishnan R
Radhakrishnan R earned 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

704 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