DEV Community

Cover image for How the internet works
Abdulbasit Yusuf
Abdulbasit Yusuf

Posted on

How the internet works

What is internet

The internet in a lay man terms can be perceive as a network of cables that runs through out the world and this cables are the means in which computers from different locations can communicate with each other, the computers can be any form of device from a server to a laptop or even smartphones, at a very basic level, computers can communicate with each other by connecting via cables.

Two computers linked together

The solution in the picture above can be optimised with the use of a router (routers are computers that ensure a message sent from one computer find it way to the target computer). Instead of connecting each computer to one another via a cable, they are all connected to the router and when a computer sends a message out to another computer it goes through the router which will figure out the computer the message is meant for and deliver it.

Ten computers with a router

How does this local network communicate with other network outside

Internet Service Provider (ISP is a company that manages some special routers that are all linked together and can also access other ISPs' routers) helps connect our local network via a modem through the ISP router to get to our destination network.

Full internet stack

Finding a computer

Each computer can be identified by an internet protocol address (IP address) which is how a message sent from one computer can travel through the cables and find the right computer the message is meant for. The IP address is an address made of a series of four numbers separated by dots, for example: 192.0.2.172 but because the IP address are not easy to remember for humans, each IP address is given a domain name that is easily readable and can be remembered easily. Take a user for example on a laptop trying to access the google server, the google server IP address 142.250.190.78 (this can change in the future) can be type in a browser the google server will respond with the google search page.

If this article is helpful, consider liking, sharing, and following me; connect with me on Twitter and Linkedin.
Happy coding.

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay