ping命令窗口7 [英] Ping command windows 7
问题描述
我想知道为什么我的ping命令在名称中带有破折号时不起作用
Hi i'm look for why my ping command doesn't work when it had a dash in the name for example
Ping HIL-BO
Ping HIL-BO
会得到:
Ping请求找不到主机HIL-BO.请检查名称,然后重试.
Ping request could not find host HIL-BO. Please check the name and try again.
但是当我输入
网络视图
[反斜杠] [反斜杠] HIL-BO在输出的文本中
[backslash][backslash] HIL-BO is in the outputted text
为什么不做这项工作,请帮忙
why wont this work please help
推荐答案
除与计算机IP地址的DNS条目相同外,您无法ping到Windows网络名称.我不是Windows用户,但是以下方法应该可以工作.试试
You can not ping to a windows network name except it the same as the DNS entry for your computers IP-address. I'm not a windows user, but the following should work. Try
ipconfig /a
这应该向您显示一个包含IP地址的列表.我希望您没有DNS条目,因此必须使用ipconfig将显示的xxx.xxx.xxx.xxx IP地址.
This should show you a list that contains your IP-address. I expect that, you have no DNS entry so you must use the xxx.xxx.xxx.xxx IP-address that will be shown by ipconfig.
ping xxx.xxx.xxx.xxx
(用显示的地址替换xxx.xxx.xxx.xxx).如果您在同一台计算机上ping,请尝试:
(replace the xxx.xxx.xxx.xxx by the displayed address). If you ping the same machine try:
ping localhost
仅当目标计算机上的ping服务正在运行并且为ICMPv4协议和端口打开了防火墙时,ping命令才能工作.
The ping command can only work if the ping service on the target machine is running and the firewall is opend for ICMPv4 protocol and ports.
这篇关于ping命令窗口7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!