English 中文(简体)
vpn connection and ip problem
原标题:

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

最佳回答

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%system32driversetcHOSTS . You can edit it with notepad.

#Entry would look like
1.2.3.4 servername
问题回答

暂无回答




相关问题
How to get IP address from sockaddr

I want to try and get the ip address of a client after calling accept. This is what I have so far, but I just end up getting some long number that is clearly not an ip address. What could be wrong? ...

printing ip addresses using gdb

I am debugging a networking code and want to print ip addresses which are declared as int32. when i print it using gdb print command, i get some values which is not much meaningful. How can i ...

Using Clients IP as the Servers IP

This might be one of those "huh, why?" questions, but I figured it would be worth the try. How would one, from a server-side application, use the clients IP address as the applications IP address to ...

where is class E ip addresses?

I am reading Richard Stevens TCP/IP illustrated Vol1.He said class E ip addresses are reserved for future use.Considering he wrote the book at 1994,now is the future.So where is the class E ip ...

multicast ip address - blocked in call to recvfrom

i am writing a simple multicast application. i intend to run it on localhost. i have done the following: char *maddr; . . . sendfd = socket(...); struct sockaddr_in sasend; sasend.sin_family = ...

热门标签