Think of the Internet as the US Interstate Highway system. The web is a chain of tourist attractions you can visit along those roads.
The Internet is the physical and logical collection of interconnected networks. The web is a protocol that runs on top of that infrastructure, just as email, ssh, ftp, irc, etc. do.
sunbeam60@lemmy.one 7 months ago
Not sure if a serious question. So forgive me if your question was meant to be a statement.
The internet is a large set of computers connected via two protocols: IP and TCP.
There’s 65000-ish ports (channels) available on the internet.
The web runs on port 80 and 443.
The internet supports all sorts of other traffic too: Time synchronisation, games, file transfer, e-mail, remote login, remote desktops etc. None of these run on the web, but is traffic that runs in parallel to the web.
The distinction is getting blurrier as lots of traffic that used to be assigned (or simple chose) its own port number is now encapsulated in HTTP(s) traffic. But the distinction is definitely not gone.
aniki@lemm.ee 7 months ago
The advent of REST API endpoints really muddies everything up when all requests are going over the web.
sunbeam60@lemmy.one 7 months ago
Yes agreed. I suspect it will collapse to “non-time critical traffic will run on HTTPS” and “everything else will run on UDP, using their own ports”, except for maybe a couple of golden oldies like NTP, FTP, SMTP/POP/IMAP.
aniki@lemm.ee 7 months ago
POP and IMAP are pretty much dead at this point. Email is basically dead at this point. Want to spin up a machine and have it email you system messages? Nope. Want to run a Python script that sends to gmail? lol. mailtrap.io/blog/gmail-smtp/
On all my microservers I have pretty much only 22, 80, and 443 open. I try to interact exclusively over web ports for as much as possible.
kniescherz@feddit.de 7 months ago
Totally serious. Never knew there is a difference. Thanks for the explanation.
Alice@beehaw.org 7 months ago
Appreciate this, I thought they were both called “the internet”. I knew we called it the worldwide web when I was a kid, but I thought that was just a phrase that fell out of fashion.
Hamartiogonic@sopuli.xyz 7 months ago
Where does Lemmy fall on this spectrum? Obviously the website part is 100% web, but I’m accessing Lemmy through a mobile app, so I don’t see any website here.
sunbeam60@lemmy.one 7 months ago
Well this is what I mean. In the olden days, this would be custom traffic on a custom port. Nowadays it just uses web HTTPS REST calls as API.