Can't see win2k8 server by hostname, but can see it by IP

[亡魂溺海] 提交于 2019-12-11 08:36:53

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/342757/cant-see-win2k8-server-by-hostname-but-can-see-it-by-ip

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!