this post was submitted on 06 Jun 2026
9 points (90.9% liked)

Ask

1547 readers
47 users here now

Rules

  1. Be nice
  2. Posts must be legitimate questions (no rage bait or sea lioning)
  3. No spam
  4. NSFW allowed if tagged
  5. No politics
  6. For support questions, please go to !newcomers@piefed.zip

Icon by Hilmy Abiyyu A.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] HarkMahlberg@kbin.earth 2 points 19 hours ago

To add to Toynbee's answer, any computer can become a server if you run some kind of program on it that provides that function. That program runs in the background continuously and waits for other computers, named "clients", to send requests to the "server" computer.

Yes, that includes your own PC, even while you're in the middle of using it. If you were running a website on your PC, i.e. a persistent background application that serves a website, you could type http://localhost/ into your browser and connect to that website. That makes your PC perform the duties of both client and server at the same time. Fun stuff.

It's called "localhost" because, while a "server" is mostly referring to the software on the machine, the "host" refers to the software and hardware together. It's "local" as opposed to "remote" because all computers that aren't the one you're on right now are remote, distant, away.