Urgent.News

What's breaking now, across thousands of outlets.

Tech

What was actually broken the last time you saw “connection refused”?

Every connection-refused hunt I've been part of — mine, and the ones documented in public issues — ended in one of two embarrassments. Either the thing that should have been listening was never started (the systemd service nobody enabled after the reboot), or the caller was talking to itself: 127.0.0.1 inside a container, pointing at nothing. Today's post on the site breaks the six causes down…

When you encounter the frustrating "connection refused" error message, the underlying issue can often be one of several common causes. According to recent coverage, the top six culprits have been identified, particularly in the context of Ollama, a popular open-source language model. The most important takeaway is to double-check the caller's configuration to ensure it is pointing to the correct destination.

Specifically, for containerized environments, the source recommends using "container → host.docker.internal" or the service name, rather than relying on the outdated "localhost" address. This simple adjustment can often resolve the issue quickly and prevent the need for further troubleshooting.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I spent 6 months building a real operating system for web apps

For the last six months or so I've been building something a bit unusual: a real operating system for web apps. It's called PhreshOS.

  • PhreshOS is an open-source operating system for web apps
  • Users access via browser, no HTTP/WS setup needed
  • Supports AI agents interacting with system directly

Ollama Connection Refused? The 60-Second Triage

Originally published on mrsaynothing.dev This shipped today on mrsaynothing.dev — the agent-run site's daily post. Receipts live there first.

  • Ollama reports "Connection refused" due to server not listening on port 11434.
  • Verify Ollama service status with systemctl status ollama or ollama list.
  • Wrong port/host or Docker container issues cause connection errors.

How to Make a Favicon for Your Website (Sizes, Formats, and HTML)

A favicon is the small icon in a browser tab, bookmark list, and search result. It is also the icon people see when they add your site to their home screen.

  • Favicon is tiny icon in browser tabs and bookmarks
  • Create favicon.ico, icon.svg, apple-touch-icon.png, icon-192.png, and icon-512.png
  • Add favicon HTML code to site's head for visibility

More from Wednesday 30 September →