Client /Server application with VPN connection
-
I wrote a Server/Client application based on TCP/IP. Here are several cases I tested: 1. The applicaiton works fine when both the client and server programs are installed inside a company wired network. 2. The applicaiton works fine when the server program is installed in a computer that is VPNed in while the client program is installed in a company wired network. 3. The client program cannot connect to the server program when the client program is installed in a computer is logged in through VPN into a company network. Can any one provide suggestion on how to solve the problem in case 3?
-
I wrote a Server/Client application based on TCP/IP. Here are several cases I tested: 1. The applicaiton works fine when both the client and server programs are installed inside a company wired network. 2. The applicaiton works fine when the server program is installed in a computer that is VPNed in while the client program is installed in a company wired network. 3. The client program cannot connect to the server program when the client program is installed in a computer is logged in through VPN into a company network. Can any one provide suggestion on how to solve the problem in case 3?
Bugslayer1 wrote:
3. The client program cannot connect to the server program when the client program is installed in a computer is logged in through VPN into a company network.
Are you able to establish connection to the server socket using telnet.exe from the client box?
-Suhredayan
-
I wrote a Server/Client application based on TCP/IP. Here are several cases I tested: 1. The applicaiton works fine when both the client and server programs are installed inside a company wired network. 2. The applicaiton works fine when the server program is installed in a computer that is VPNed in while the client program is installed in a company wired network. 3. The client program cannot connect to the server program when the client program is installed in a computer is logged in through VPN into a company network. Can any one provide suggestion on how to solve the problem in case 3?
Some thoughts: - Can you clarify what's the difference between case 2 and 3 (who's client/server, what errors exactly)? - Have you ruled out firewalling problems... tried different TCP listening ports or port forwarding? - Have you talked with your company's network administrator, perhaps this kind off traffic is prevented on purpose? - Have you tried with another client/server application in order to test network connection? /M
Webchat in Europe :java: (only 4K)
modified on Tuesday, March 16, 2010 6:12 AM
-
Some thoughts: - Can you clarify what's the difference between case 2 and 3 (who's client/server, what errors exactly)? - Have you ruled out firewalling problems... tried different TCP listening ports or port forwarding? - Have you talked with your company's network administrator, perhaps this kind off traffic is prevented on purpose? - Have you tried with another client/server application in order to test network connection? /M
Webchat in Europe :java: (only 4K)
modified on Tuesday, March 16, 2010 6:12 AM
Here are detailed description of the problem: Case 2: client program on computer A within company LAN. server program on computer B VPNed in company LAN using Sprint aircard and Sonic VPN I can connect from computer A to B Case 3: client program on computer B VPNed in company LAN using Sprint aircard and Sonic VPN server program on computer A within company LAN I cannot connect from computer B to A In both cases, I have added the client and the server programs in Firewall exceptions. The PCs are Windows Vista. I also did some other tests. 1. A program from the followng link: Multi-threaded Client/Server Socket Class[^] This application has the same results as mine. Both applications use Winsock2. 2. A program from the following link: Simple File Transfer Using the Network Development Kit 2.0[^] This program works. This program use MFC CSocket. 3. I can also connect to other SQL server by ADO from the computer B.
-
Here are detailed description of the problem: Case 2: client program on computer A within company LAN. server program on computer B VPNed in company LAN using Sprint aircard and Sonic VPN I can connect from computer A to B Case 3: client program on computer B VPNed in company LAN using Sprint aircard and Sonic VPN server program on computer A within company LAN I cannot connect from computer B to A In both cases, I have added the client and the server programs in Firewall exceptions. The PCs are Windows Vista. I also did some other tests. 1. A program from the followng link: Multi-threaded Client/Server Socket Class[^] This application has the same results as mine. Both applications use Winsock2. 2. A program from the following link: Simple File Transfer Using the Network Development Kit 2.0[^] This program works. This program use MFC CSocket. 3. I can also connect to other SQL server by ADO from the computer B.
I see, so the only difference between your cases is the direction of the network connection. Would you mind trying the P2P software linked below in my signature? It runs both as server and client... so you be able test both directions simultaneously (computer A connecting B, computer B connecting A). In case a connection fails, is there a different error message than "timeout"? One more thought. If one of the computer has multiple network adapters (run 'ipconfig' in console window), you can try connecting different IP addresses. If the VPN connection does absolutely not work for you, check with your network admin before you try to circumvent possible filters. ;) /M
Webchat in Europe :java: Now with 26% more Twitter
modified on Thursday, March 18, 2010 5:48 PM