Networking: LAN vs WAN

I have a basic question about networking.

What is the difference between LAN vs WAN in terms of usage?

I have a server/client application which connect through TCP. I have tried it between computers connected in the same LAN and was able to connect with each other using the computer name / ip address.

Will the same application work if the computers are connected through WAN?
LVL 22
Who is Participating?
Sekar ChinnakannuConnect With a Mentor Staff EngineerCommented:
please check the difference in below url , you will get answer for your questions
ThomasianAuthor Commented:
Thanks for the link.

According to my client, the computers are connected through WAN and they "see" each other. Can I assume that it will work like they are connected through LAN but with a lower transfer rate?
dr_shivanConnect With a Mentor Commented:
You can read more about the difference here:

The application would have to depend on the connection setting, firewall rules and router settings. How both networks connect and the permission allowed.
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.


You can ask your client to do a simple ping test to check connectivity and telnet to the application port number to check for firewall rules.
ThomasianAuthor Commented:
I see, so does that mean that if the ping test works and the port is not blocked, then the application would work just like they are connected through LAN?
raooolConnect With a Mentor Commented:
Thomasian: the answer is... maybe. The comments here are accurate - the answer will depend on what ports the application uses and handling of those ports by the router/switches/firewalls et. al network devices involved. A common solution would be to use a VPN - you have all the same questions (plus a few more) but you control more of the variables. (e.g. it's possible an application relies on ports allowed internally but not permitted by your Internet Service Providers).

Per the links provided - there are many considerations specific to each piece involved. (the application, operating system, network topology, name handling, privileges etc. etc. etc.) Is it feasible to try it and see what happens?! Is a VPN a possibility?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.