“网络上存在重名”有何影响? 虚拟机有错误吗?
我有一个项目,其中多个开发人员正在使用同一 Windows Virtual PC 映像 (W2K3 SE SP2) 的副本。 因为我们的解决方案与机器名称相关(我知道不太理想),所以所有开发人员都具有相同的机器名称。
我们使用 VPN 连接到远程系统,连接后出现“Windows 错误:网络上存在重复名称”错误。
由于所有开发都在本地进行,因此我们不依赖于连接到我们的其他计算机——仅依赖于出站连接。
我知道更改机器名称是最佳实践,但这背后的原因是什么? 这会产生什么影响?
I have a project where multiple developers are using a copy of the same windows Virtual PC image (W2K3 SE SP2). Because our solution is tied to the machine-name (less than ideal, i know) all of the developers have the same machine name.
We use a VPN to connect to a remote system, upon connection we get the "Windows Error: A duplicate name exists on the network" error.
Since all development is happening locally, we're not dependent on other machines connecting to us -- only outbound connections.
I know it's best practice to change the machine name, but what's the reasoning behind this? What impact would this have?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您在虚拟机上本地完成所有工作,则计算机名称没有必要保持不变。
我在工作中也遇到过类似的情况。 我们使用的是 Microsoft 的 SharePoint 2007 VM 试用版。 同样的错误,开发没有问题。 我遇到的唯一问题是当我打开 Internet Explorer 通过输入 http://servername/page 查看服务器上的页面时.aspx,我会访问另一个开发人员的虚拟机。 我必须使用 http://ipaddress/page.aspx 来访问我自己的机器。
If you are doing all work locally on the VM, there is no reason why the machine name needs to stay the same.
I have run into a similar situation where I work. We were using Microsoft's trial version of SharePoint 2007 VM. Same error, no issues with development. The only thing I ran into was when I opened Internet Explorer to view the pages on the server by typing http://servername/page.aspx, I would hit another developer's VM. I had to use http://ipaddress/page.aspx to hit my own machine.
本例中的计算机名称主要用于 SMB/CIFS 文件共享目的。 重复名称的问题是,如果您尝试共享文件,则无法识别哪个主机是哪个主机。
可能还有一些其他相关的影响,但我认为如果您只在本地工作,那么应该不会有任何问题。
The machine name in this case is used mostly for SMB/CIFS file sharing purposes. The problem with duplicate names is if you try to share files, there is no way to identify which host is which.
There may also be some other related effects, but I think if you are only working locally you shouldn't have any problems.
除了弄乱 AD、DNS、Netbios 或 Netbeui 之外……什么也没有。
重复的机器名称不是最佳实践。 它可能会扰乱文件共享、ping、组策略等。
您必须首先问自己为什么他们要这样做。
Well besides goofing up AD, DNS, Netbios or Netbeui...nothing.
Duplicate machine names is not a best practice. It can mess with file sharing, pinging, group policies, etc.
You have to ask yourself WHY they're doing this in the first place.