无法通过主机名看到 win2k8 服务器,但可以通过 IP 看到它 [英] Can't see win2k8 server by hostname, but can see it by IP

查看:41
本文介绍了无法通过主机名看到 win2k8 服务器,但可以通过 IP 看到它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的家庭网络上,我安装了 Windows Server 2008,出于某种原因,网络上的 Windows Vista 工作站只能通过服务器的 IP 地址而不是主机名通过远程桌面连接到服务器.连接到服务器上的 SQL Server 2008 实例也是如此,只能通过 IP 工作,而不是通过主机名.

On my home network I have an installation of Windows Server 2008 and for some reason, the windows vista workstations on the network can connect to the server via remote desktop only via the server's IP address, not the hostname. Same for connecting to an instance of SQL Server 2008 that's on the server, only works by IP, not by hostname.

然而,我在同一台服务器上有一些文件共享,工作站可以使用服务器的主机名很好地看到它们.

Yet, I have some file shares on the same server, and the workstations can see them just fine using the server's hostname.

服务器/工作站位于同一个专用网络上,并且具有相同的工作组名称.

The server/workstations are on the same private network, and have the same workgroup name.

知道为什么在上述情况下我似乎无法通过主机名找到服务器吗?

Any idea why I can't seem to find the server via hostname in the situations outlined above?

推荐答案

文件共享可能通过 NETBIOS 处理,RDP 和 SQL 连接可能使用 DNS.您是否已将服务器添加到 Vista 系统的主机文件?我假设由于它们位于专用网络上,因此您没有运行自己的 DNS,因此要通过使用 IP 名称的协议获取它们,您需要手动将条目放入主机中.

File shares are probably handled via NETBIOS, RDP and SQL connections are probably using DNS. Have you added the server to your Vista system's hosts file? I'm assuming that since they are on a private network you're not running your own DNS and thus to get at them via protocols that use IP names you need to put entries in hosts manually.

这篇关于无法通过主机名看到 win2k8 服务器,但可以通过 IP 看到它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆