Click here to Skip to main content
15,901,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a client server application, and I run this application on local network and everything work well. But when I use Wireless VPN network between Client and server, I can't make the connection.

The Server Code is :
Dim localEndPoint As New IPEndPoint(IPAddress.Any, CInt(txtPort.Text))
listener = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)

Everything work well on local network, but on Public network using Wireless VPN, I can't make the connection
Updated 2-Jun-15 4:30am
Richard MacCutchan 2-Jun-15 11:42am    
Probably because you do not have a fixed IP address for the server. What address are you calling from the client?
[no name] 3-Jun-15 7:57am    
I can ping on the server IP, but I cannot connect
Richard MacCutchan 3-Jun-15 8:49am    
If you want help with this you need to use your debugger (at both ends) to collect some useful information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900