Cloud Explainers

How to Fix Network 'Connection Refused' Errors

Networking7 min videoPublished Nov 15, 2026

'Connection refused' (Errno 111, ECONNREFUSED) means the machine answered and nothing was listening on that port. On two real Ubuntu 24.04 machines we show the reset in a capture, then the four causes in order: the app isn't running, it listens only on 127.0.0.1, the wrong port, and a firewall rule that rejects, plus why a firewall that drops gives a time-out instead.

Refused, but the server is up

Your app says: connection refused. At a bowling alley's front desk, Ana's booking screen asks the lanes server for free lanes, and gets Errno one eleven: connection refused. But the server is up. Ping, which sends two tiny test packets, gets answers in a fraction of a millisecond. So the server is there. It answered quickly. The answer was no. And before the end, we'll meet a refusal that doesn't come from the app at all.

Ana at the front desk PC
python3 book.pyTraceback (most recent call last):
  File "/usr/lib/python3.12/urllib/request.py", line 1344, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.12/http/client.py", line 1365, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1411, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1360, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1120, in _send_output
    self.send(msg)
  File "/usr/lib/python3.12/http/client.py", line 1064, in send
    self.connect()
  File "/usr/lib/python3.12/http/client.py", line 1030, in connect
    self.sock = self._create_connection(
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 852, in create_connection
    raise exceptions[0]
  File "/usr/lib/python3.12/socket.py", line 837, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ana/book.py", line 5, in <module>
    with urllib.request.urlopen("http://lanes:5000/lanes", timeout=10) as answer:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 215, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 515, in open
    response = self._open(req, data)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 532, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 492, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 1373, in http_open
    return self.do_open(http.client.HTTPConnection, req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 1347, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
Ana at the front desk PC
ping -n -c 2 lanesPING lanes (192.168.60.10) 56(84) bytes of data.
64 bytes from 192.168.60.10: icmp_seq=1 ttl=64 time=0.027 ms
64 bytes from 192.168.60.10: icmp_seq=2 ttl=64 time=0.139 ms

--- lanes ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1074ms
rtt min/avg/max/mdev = 0.027/0.083/0.139/0.056 ms

What refused really means

What does refused mean? Every connection starts with one small packet, a SYN: please open a line to port five thousand, the booking app's number. If a program is listening there, the server says yes. If nothing is, the server's own system answers at once with a reset: no.

Refused: the machine answered, nobody took the call: diagram of Front desk, Lanes server, Port 5000, SYN:5000, listening?, RST

It's like calling a company's switchboard and asking for an extension nobody has: you hear the not-in-service message straight away. A time-out is a different failure: the phone just rings, and nobody answers. So refused is good news, in a way. You reached the right machine. Nothing on it took the call.

Refused vs timed out: comparison table of Connection refused vs Timed out, On the phone, On the network, It tells you

Is the app running?

So, the usual fix first: is the program even running? In a second window, on the lanes server, systemctl status asks the service manager about the booking app. Inactive, dead. And disabled, so it doesn't start at boot either. Enable, with dash dash now, turns it on for every boot and starts it right away; sudo runs that as the administrator. Status again: active, running.

Ana on the lanes server
systemctl status lanes○ lanes.service - Lane booking app
     Loaded: loaded (/etc/systemd/system/lanes.service; disabled; preset: enabled)
     Active: inactive (dead)
Ana on the lanes server
sudo systemctl enable --now lanesCreated symlink /etc/systemd/system/multi-user.target.wants/lanes.service → /etc/systemd/system/lanes.service.
Ana on the lanes server
systemctl status lanes● lanes.service - Lane booking app
     Loaded: loaded (/etc/systemd/system/lanes.service; enabled; preset: enabled)
     Active: active (running) since Sun 2026-11-15 21:41:40 UTC; 2s ago
   Main PID: 134 (python3)
      Tasks: 1 (limit: 9563)
     Memory: 19.9M (peak: 19.9M)
        CPU: 54ms
     CGroup: /system.slice/lanes.service
             └─134 /usr/bin/python3 /srv/lanes/app.py

Nov 15 21:41:40 lanes systemd[1]: Started lanes.service - Lane booking app.
Nov 15 21:41:40 lanes python3[134]:  * Serving Flask app 'app'
Nov 15 21:41:40 lanes python3[134]:  * Debug mode: off
Nov 15 21:41:40 lanes python3[134]: WARNING: This is a development server. …ead.
Nov 15 21:41:40 lanes python3[134]:  * Running on http://127.0.0.1:5000
Nov 15 21:41:40 lanes python3[134]: Press CTRL+C to quit
Hint: Some lines were ellipsized, use -l to show in full.

The app is running now. Guess first: does the front desk connect now? No. The same error, word for word. This is where most people get stuck, because the usual fix did work. It just wasn't the only problem.

Ana at the front desk PC
python3 book.pyTraceback (most recent call last):
  File "/usr/lib/python3.12/urllib/request.py", line 1344, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.12/http/client.py", line 1365, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1411, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1360, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1120, in _send_output
    self.send(msg)
  File "/usr/lib/python3.12/http/client.py", line 1064, in send
    self.connect()
  File "/usr/lib/python3.12/http/client.py", line 1030, in connect
    self.sock = self._create_connection(
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 852, in create_connection
    raise exceptions[0]
  File "/usr/lib/python3.12/socket.py", line 837, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ana/book.py", line 5, in <module>
    with urllib.request.urlopen("http://lanes:5000/lanes", timeout=10) as answer:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 215, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 515, in open
    response = self._open(req, data)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 532, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 492, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 1373, in http_open
    return self.do_open(http.client.HTTPConnection, req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 1347, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>

Listening, but on which address?

So it runs. But where is it listening? ss, with dash l t n p, lists the programs listening for TCP connections, with numbers and names. Port five thousand, yes, but on one two seven dot zero dot zero dot one. That address is loopback: the machine talking to itself. On the server, curl to localhost gets the lanes. At the desk, netcat, a tool that only tries to connect, asks localhost, and is refused: there, localhost means the desk itself.

Ana: lanes server, then front desk
sudo ss -ltnpState   Recv-Q   Send-Q     Local Address:Port      Peer Address:Port  Process
LISTEN  0        4096          127.0.0.11:38639          0.0.0.0:*
LISTEN  0        128            127.0.0.1:5000           0.0.0.0:*      users:(("python3",pid=134,fd=3))
Ana: lanes server, then front desk
curl -s localhost:5000/lanes{"free":[3,5,8]}
Ana: lanes server, then front desk
nc -vz localhost 5000nc: connect to localhost (127.0.0.1) port 5000 (tcp) failed: Connection refused

Here's the picture. The server has two doors. Its network address, that other machines use, and loopback, that only the server itself can reach. The app listens only behind the inside one, so the desk's SYN finds nobody, and gets the reset. At the switchboard, that's an internal extension: it never rings from outside.

Two doors: the network address and loopback: diagram of Front desk PC, 192.168.60.10, 127.0.0.1, Booking app, The lanes server

Flask, the framework this app is built on, says so in its own guide: the server is only reachable from your own computer, not from any other on the network. To open it, listen on zero dot zero dot zero dot zero. The same page explains why it's off by default: with the debugger on, anyone who can reach it can run code. Ana's runs with the debugger off.

Listening, but on which address?: browser screenshot of loopback by default

The fix: listen on every address

So the fix is one line in the app's file, on the lanes server. app dot run, port five thousand, gains host equals zero dot zero dot zero dot zero, which means every address the server has. Other servers have the same switch under another name: a bind address, or a listen line.

One line: listen on every address: code change of /srv/lanes/app.py, app.run(host="0.0.0.0", port=5000) (every address, not only loopback), Same idea elsewhere: bind address, listen

Restart it, and ss shows zero dot zero dot zero dot zero, port five thousand. The front desk asks again: lanes three, five and eight are free.

Ana: lanes server, then front desk
sudo systemctl restart lanes
Ana: lanes server, then front desk
sudo ss -ltnpState   Recv-Q   Send-Q     Local Address:Port      Peer Address:Port  Process
LISTEN  0        4096          127.0.0.11:38639          0.0.0.0:*
LISTEN  0        128              0.0.0.0:5000           0.0.0.0:*      users:(("python3",pid=158,fd=3))
Ana: lanes server, then front desk
python3 book.pyFree lanes: 3 5 8

Same error, other words

Every tool words this error its own way. Here, each one dials a port that nothing on the server uses. curl hides it: couldn't connect to server. Add dash v, and there it is: connection refused. ssh always dials port twenty-two, and this server has no SSH server installed, so it says it plainly. Different words, one meaning: the machine answered, and nobody was listening on that port.

Ana at the front desk PC
curl http://lanes:8000/lanescurl: (7) Failed to connect to lanes port 8000 after 0 ms: Couldn't connect to server
Ana at the front desk PC
curl -v http://lanes:8000/lanes* Host lanes:8000 was resolved.
* IPv6: (none)
* IPv4: 192.168.60.10
*   Trying 192.168.60.10:8000...
* connect to 192.168.60.10 port 8000 from 192.168.60.20 port 49636 failed: Connection refused
* Failed to connect to lanes port 8000 after 0 ms: Couldn't connect to server
* Closing connection
curl: (7) Failed to connect to lanes port 8000 after 0 ms: Couldn't connect to server
Ana at the front desk PC
ssh lanesssh: connect to host lanes port 22: Connection refused

Right server, wrong port

One more check before you blame the server: the port number. The same server refuses port eight thousand, a port nothing uses, and accepts five thousand. So if ss shows your app on one port and your client dials another, that's your refusal.

Ana at the front desk PC
nc -vz lanes 8000nc: connect to lanes (192.168.60.10) port 8000 (tcp) failed: Connection refused
Ana at the front desk PC
nc -vz lanes 5000Connection to lanes (192.168.60.10) 5000 port [tcp/*] succeeded!

When the firewall says no

The next morning, the desk is refused again. But ss says the app is still listening on every address. This is the refusal that doesn't come from the app. ufw, Ubuntu's firewall, is on, with a rule left from an old setup: port five thousand, reject.

Ana: lanes server, then front desk
python3 book.pyTraceback (most recent call last):
  File "/usr/lib/python3.12/urllib/request.py", line 1344, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.12/http/client.py", line 1365, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1411, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1360, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.12/http/client.py", line 1120, in _send_output
    self.send(msg)
  File "/usr/lib/python3.12/http/client.py", line 1064, in send
    self.connect()
  File "/usr/lib/python3.12/http/client.py", line 1030, in connect
    self.sock = self._create_connection(
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 852, in create_connection
    raise exceptions[0]
  File "/usr/lib/python3.12/socket.py", line 837, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ana/book.py", line 5, in <module>
    with urllib.request.urlopen("http://lanes:5000/lanes", timeout=10) as answer:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 215, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 515, in open
    response = self._open(req, data)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 532, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 492, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 1373, in http_open
    return self.do_open(http.client.HTTPConnection, req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 1347, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
Ana: lanes server, then front desk
sudo ss -ltnpState   Recv-Q   Send-Q     Local Address:Port      Peer Address:Port  Process
LISTEN  0        4096          127.0.0.11:38639          0.0.0.0:*
LISTEN  0        128              0.0.0.0:5000           0.0.0.0:*      users:(("python3",pid=158,fd=3))
Ana: lanes server, then front desk
sudo ufw statusStatus: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere
5000/tcp                   REJECT      Anywhere

tcpdump, which prints every packet the server's network card sees, can't tell the difference. The desk's SYN comes in, and a reset goes back 27 millionths of a second later, the same as when nobody was listening. Reject means: the firewall answers no for the app, at the switchboard, before the call reaches anyone.

Ana on the lanes server
sudo tcpdump -ni eth0 -ttt -c 2 tcp port 5000tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
 00:00:00.000000 IP 192.168.60.20.50066 > 192.168.60.10.5000: Flags [S], seq 2631076826, win 64240, options [mss 1460,sackOK,TS val 2110611741 ecr 0,nop,wscale 10], length 0
 00:00:00.000027 IP 192.168.60.10.5000 > 192.168.60.20.50066: Flags [R.], seq 0, ack 2631076827, win 0, length 0
2 packets captured
2 packets received by filter
0 packets dropped by kernel

Ana changes the rule from reject to deny. Guess first: what does the desk get now? A time-out. Deny throws the SYN away without a word, so the desk waits the full ten seconds it allowed. The phone just rings. Allowing port five thousand ends it: the lanes are back.

Ana: lanes server, then front desk
sudo ufw deny 5000/tcpRule updated
Ana: lanes server, then front desk
time nc -vz -w 10 lanes 5000nc: connect to lanes (192.168.60.10) port 5000 (tcp) timed out: Operation now in progress

real	0m10.022s
user	0m0.000s
sys	0m0.001s
Ana: lanes server, then front desk
sudo ufw allow 5000/tcpRule updated
Ana: lanes server, then front desk
python3 book.pyFree lanes: 3 5 8

Before you call it fixed

To catch this before the front desk does, test from another machine: on the server, localhost answered while the desk was refused. netcat with dash v z, a name and a port, tries one port in a second and says what happened. Refused points at the app, its address, its port, or a reject rule. A time-out points at a dropped packet.

Before you call it fixed: cards of Test from another machine, Refused or timed out?

Recap

So, connection refused means the machine answered and nobody took the call. Check that the app runs, which address it listens on, which port, and whether a firewall rejects it.

Connection refused: four checks: diagram of Is it running?, Which address?, Which port?, A firewall rejecting?

If your desk finds its lanes now, subscribing brings more fixes, tested on real machines.

Every refusal in this video came from two real Ubuntu machines, and every command and the lab files are linked in the description. Thanks for watching Cloud Explainers.

Sources

Demos: two containers on our own Mac standing in for a bowling alley's front desk PC and lanes server; the alley and its staff are made up. Every refusal, time-out and packet was real. Watch the full video on YouTube.

More videos

DevOps & CI/CD9 min

DevOps with Ansible Will Finally Make Sense After This

Networking9 min

How SNMP Network Monitoring Works

Git8 min

How to Fix GitHub 'Permission Denied (publickey)' Errors

PostgreSQL7 min

How to Fix PostgreSQL 'Password Authentication Failed'

Linux8 min

Why One Linux Server Handles More Users Than You Think

DevOps & CI/CD9 min

DevOps Pipelines: Jenkins vs GitHub Actions

Networking11 min

Every Networking Term a Beginner Needs in 12 Minutes

Docker6 min

How to Fix Docker 'Permission Denied' on docker.sock

Git7 min

How to Fix Git 'Updates Were Rejected' When You Push

Linux7 min

How to Fix nginx 502 Bad Gateway Errors on Linux

Linux8 min

How to Fix Linux apt 'Could Not Get Lock' Errors (Ubuntu)

Networking9 min

How Email Works on the Internet (SMTP) in 10 Minutes

Python8 min

The Python Roadmap for Beginners

Go (Golang)21 min

Golang REST API with Gin: Full Tutorial for Beginners

Networking10 min

How a WireGuard VPN Network Works

Linux9 min

Linux Makefiles Will Finally Make Sense After This

Auth (OAuth, JWT)9 min

SAML vs OAuth vs OpenID Connect: What's the Difference?

Python7 min

How to Fix Python cron Jobs That Never Run

Linux22 min

Linux Bash Scripting: Full Tutorial for Beginners

Networking10 min

How PXE Network Boot Works

Active Directory9 min

How Active Directory Works

Linux10 min

How to Fix a Linux systemd Service That Won't Start

Linux9 min

Linux Logs: syslog vs journald

Auth (OAuth, JWT)9 min

JWT vs Session Cookies: Which One Should You Use?

Docker10 min

Docker vs Docker Compose: Which One Should You Use?

Docker9 min

How to Fix Docker Compose Containers That Can't Talk to Each Other

Django (Python web framework)22 min

Django Full Tutorial for Beginners

Linux9 min

How Linux systemd Works

Networking8 min

How to Fix 'Windows Cannot Access' Network Share Errors (SMB)

APIs10 min

REST vs gRPC: Which One Should You Use?

Certificates & PKI (ADCS)9 min

How to Fix SSL Certificate Chain Errors (Missing Intermediate)

Python9 min

Every Python Concept for Beginners in 10 Minutes

Databases & SQL9 min

Every SQL Join Type in 10 Minutes

OpenRouter (one API for many AI models)9 min

Why OpenRouter Free Models Hit Their Limit So Fast

Gemini API & Google AI Studio9 min

Why Your Gemini API Free Tier Runs Out So Fast

OpenRouter (one API for many AI models)10 min

OpenRouter Will Finally Make Sense After This

Caching & Redis10 min

How Redis Caching Works

Gemini API & Google AI Studio10 min

Gemini API vs Vertex AI: Which One Should You Use?

Gemini API & Google AI Studio8 min

How to Fix a Leaked Gemini API Key

Go (Golang)9 min

Why Golang Uses Goroutines Instead of Threads

Gemini API & Google AI Studio9 min

How to Fix Gemini API Error 429: Resource Exhausted

Claude & the Claude Developer Platform10 min

Claude Token Pricing Will Finally Make Sense After This

Python11 min

Why Python Web Scraping Returns Nothing (and the Fix)

Python10 min

Python uv vs pip: Which One Should You Use?

Python22 min

Python Automation: Full Tutorial for Beginners

Auth (OAuth, JWT)9 min

How OAuth Login Works

Gemini API & Google AI Studio10 min

Google AI Studio Will Finally Make Sense After This

Docker10 min

What Happens When You Run a Docker Container

Claude & the Claude Developer Platform8 min

How to Fix Claude Code Billing Your API Key Instead of Your Plan

Auth (OAuth, JWT)9 min

Why Passkeys Can't Be Phished Like Passwords

PowerShell10 min

PowerShell vs Bash: Which One Should You Learn?

Linux10 min

The Linux Roadmap for Beginners

Django (Python web framework)9 min

Django vs FastAPI: Which One Should You Use?

Databases & SQL10 min

Why SQLite Is the Most Used Database in the World

Databases & SQL11 min

How a NoSQL Database Like MongoDB Works

Python11 min

How to Fix Python pip error: externally-managed-environment

Databases & SQL9 min

How to Fix MySQL Too Many Connections Database Errors

Go (Golang)9 min

Golang Concurrency Will Finally Make Sense After This

AWS10 min

How Amazon S3 Works

Kubernetes10 min

How Kubernetes Works

Git10 min

How Git Works

Docker10 min

How to Fix Docker Port Already Allocated Errors

PostgreSQL10 min

How PostgreSQL Works

Git8 min

How to Fix Git Merge Conflicts

Linux9 min

How to Fix No Space Left on Device in Linux

Networking10 min

How the Internet Works

Databases & SQL9 min

SQL vs NoSQL: When Each One Wins

Auth (OAuth, JWT)8 min

How to Fix JWT Token Expired Errors (401 Unauthorized)

Claude & the Claude Developer Platform9 min

Claude API vs Claude Pro: Why Your Subscription Doesn't Include It

AI agent skills9 min

Why AI Agent Skills Beat Giant Prompts

Linux10 min

Linux Cron Jobs Will Finally Make Sense After This

Cybersecurity10 min

Security Logs Will Finally Make Sense After This

Cybersecurity8 min

How to Fix a Security Leak: An API Key Pushed to GitHub

DNS9 min

DNS Will Finally Make Sense After This

Cybersecurity9 min

Never Ignore a Security Update

Auth (OAuth, JWT)9 min

Two-Factor Authentication Will Finally Make Sense

Networking8 min

Never Expose a Database to the Internet

Cybersecurity10 min

SSH Keys vs Passwords: Which Is Safer for Security?

Linux10 min

The 5 Levels of Linux Boot: From Power On to Login

Networking12 min

The 5 Levels of Network Firewalls

Cybersecurity10 min

Password Security: Why Hackers Crack Weak Passwords

Linux9 min

Why Your Linux Server Runs Out of Memory

Networking10 min

HTTP vs HTTPS: What Actually Changes on Your Network

Linux12 min

Every Linux File Permission You Need to Know

Linux10 min

Linux Processes vs Threads: When Each One Wins

Networking11 min

The OSI Model Will Finally Make Sense After This

Git11 min

The 7 Levels of Git

Networking10 min

Every Network Troubleshooting Command You Need

Cybersecurity10 min

Hashing vs Encryption in Cybersecurity: When Each One Wins

Networking11 min

Why the Internet Ran Out of IP Addresses

Linux11 min

Linux Package Managers: apt vs Snap vs Flatpak

Python9 min

Why Python Is Slow (and When It Doesn't Matter)

Networking11 min

TCP vs UDP: When Each One Wins

Linux8 min

Stop Running Linux as Root (Do This Instead)

Linux11 min

Linux Users and Groups Will Finally Make Sense

Cybersecurity9 min

Why Phishing Beats Good Security (and How to Spot It)

Docker12 min

The 7 Levels of Docker

AI agents & MCP12 min

AI Agents Will Finally Make Sense After This

Git8 min

Stop Using git push --force (Use This Instead)

AI agent skills10 min

Agent Skills vs MCP: When Each One Wins

Networking12 min

Networking Will Finally Make Sense After This

Linux12 min

Every Linux Command You Actually Need

Cybersecurity12 min

The 7 Levels of Cybersecurity

System design12 min

Every System Design Concept You Need, in One Diagram

PostgreSQL10 min

Why PostgreSQL Ignores Your Index