Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
On one of the computers available in the local network we have installed a server created in VB.NET. Network goes through a router to the Internet. There is the possibility to communicate directly with the server, without the information to go through the Internet?
Posted
Comments
gammagtmw 25-Jan-11 4:38am    
well is it on the local network or isn't it?

1 solution

Yes, if it is connected to the same local network as the PC trying to communicate. All you need to do is set up a local socket connection using the computer name or IP address.

If you do not specify that the connection should be via the internet, then it won't.

If you are concerned that the server will be available from the internet to other computers, then you need to configure firewalls at your router and / or server to prevent it.
 
Share this answer
 
Comments
Daniel Gangut 26-Jan-11 3:50am    
Well, that's the problem - I do not know how to specify that I do not want to communicate through the Internet!
OriginalGriff 26-Jan-11 6:30am    
Then don't prefix is with "www"! :laugh:
If you use the IP address of the PC (probably something starting with "192.", it'll be similar to your PC's LAN IP) then your router / switch will keep it internal. The same if you specify the server name: "\\SERVER92"
Only if it is outside the current network will it start to search the internet.
Daniel Gangut 26-Jan-11 13:12pm    
Then I guess it is something local. Router or antivirus. Because the server can be contacted only if the client (located on the same computer) send the request to the external IP address assigned to router by ISP.

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