Skip to content

Running It for a Household

Scope: one instance, several people — widening it from one machine to the home network, what each person controls, and the extra machinery a public instance needs, which the lab deliberately did not run and this chapter does not pretend it did.

From one machine to the household

Out of the box the server binds 127.0.0.1: only the machine it runs on can reach it. To serve the house, change the bind address in settings.yml to the machine's network address (or 0.0.0.0 for all of them), restart, and point every browser's search engine setting at http://<that machine>:8888. Browsers will let you add it as a custom search engine — the suggestion URL is the instance's /search?q=%s — and from then on the household's address bar searches through the house's own page.

Nothing else about the model changes. There are still no accounts to make and no per-person setup on the server: each person's browser carries its own preferences (chapter 6), so the household shares an instance and shares nothing else — not history (there is none), not settings, not results. One machine serving a family is a light load; the little Python server that ran this lab would not notice a houseful of searching.

Two honest cautions for the LAN step:

  • Plain http on a home network is the usual household bargain; the day the instance leaves the LAN it needs HTTPS and a real front door, which is a subject of its own (this guide's scope stops at the warning, as the README says).
  • Whoever can reach the page can search through your address. On a home network that is the family and the TV. Keep it that way.

The public-instance machinery, documented only

Run an instance for the public and the problem changes species: bots arrive in bulk to scrape through you, and the upstreams ban your address for their behaviour. SearXNG's answer is the limiter — rate limiting and bot detection governed by server.limiter plus a limiter.toml — backed by a Valkey server that remembers addresses and suspension counters between restarts.

The lab's instance reports, in its own /config, limiter.enabled: false, has no limiter.toml (start-up logs the warning that it looked for one), and its valkey.url is false. None of the limiter was run: there was no Valkey on the bench and the instance never left localhost. What a public operator must know, from the project's documentation and this lab's config evidence:

  • The limiter is off unless you turn it on — a default that is right for a household and wrong for a public page.
  • Turning it on is a settings change plus a Valkey install plus writing a limiter policy; the project's admin documentation walks it, and the details belong there.
  • Public instances also usually keep the JSON format off (chapter 8's reasoning), set a truthful instance name and contact in settings, and watch the unresponsive lists for bans — the searx.space directory in chapter 12 delists instances that misbehave.

If your ambitions grow past the household, that paragraph is the doorway; this guide's verified ground ends at the household's edge, and says so.