VPN 连接和 ip 问题
我有一个应用程序用于通过 VPN 连接到服务器。
我可以在应用程序中输入服务器名称或 Ip 以连接到服务器。
如果我把 IP &连接到 VPN(这工作正常,除非网络上的任何其他计算机具有相同的 IP(远程服务器)应用程序停止)。
如果我在连接到 VPN 后输入服务器名称,服务器名称不会解析为 IP。
我使用的是windows7旗舰版。
谢谢
i have one application who use to connect to server via VPN.
i can put server name or Ip in application to connect to server.
If i put IP & Connect to VPN (this work fine except if any other computer on network have same ip(of remote server)application stop).
and if i put server name after connecting to VPN, server name is not resolved to IP.
i am using windows7 Ultimate.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您打开命令提示符(开始菜单、cmd)并尝试按名称 ping 服务器,您可能会发现在使用 VPN 时无法正确解析地址。
这是名称解析问题,而不是 VPN 问题。
名称解析问题是您的 VPN 管理员应该解决的问题,但您可以通过在位于 %systemroot%\system32\drivers\etc\HOSTS 的 HOSTS 文件中添加一个条目来强制计算机正确解析。你可以用记事本编辑它。
If you open up a command prompt(start menu, cmd) and try to ping the server by name you'll probably find you aren't resolving the address properly when VPN'd.
That is a name resolution problem, not a VPN problem.
The name resolution issue is something your VPN administrator should fix, but you can force your computer to resolve correctly by adding an entry in your HOSTS file located at %systemroot%\system32\drivers\etc\HOSTS . You can edit it with notepad.