Error map

port 5432 in use LOG: could not bind IPv4 address "0.0.0.0": Address already in use — Is another postmaster already running on port 5432?

PostgreSQL · layer 5, Data

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

port 5432 in use — LOG: could not bind IPv4 address "0.0.0.0": Address already in use — Is another postmaster already running on port 5432? (PostgreSQL)port 5432 i…nodemon crashed — [nodemon] app crashed - waiting for file changes before starting... (Node.js)nodemon crashed500.30 — HTTP Error 500.30 - ASP.NET Core app failed to start (.NET)500.30ExceptionInInitializerError — java.lang.ExceptionInInitializerError (Java)ExceptionInInitiali…port is already allocated — Docker: Bind for 0.0.0.0:80 failed: port is already allocated (Docker)port is already all…EADDRINUSE — Error: listen EADDRINUSE: address already in use :::3000 (Node.js)EADDRINUSEiptables: No chain/target/match — driver failed programming external connectivity on endpoint: iptables: No chain/target/match by that name (Docker)iptables: No chain/…MySQL won't start — Job for mysql.service failed because the control process exited with error code (MySQL)MySQL won't start55006 — ERROR: database "x" is being accessed by other users — There is 1 other session using the database. (PostgreSQL)55006postmaster.pid — FATAL: lock file "postmaster.pid" already exists — Is another postmaster running in data directory? (PostgreSQL)postmaster.pid57P03 — FATAL: the database system is starting up (PostgreSQL)57P03Failed to bind to address — System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use (.NET)Failed to bind to a…Port 8080 in use — Web server failed to start. Port 8080 was already in use. (Java)Port 8080 in useMODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUNDnpx executable — npm ERR! could not determine executable to run (npm)npx executablepg_dump version mismatch — pg_dump: error: aborting because of server version mismatch (PostgreSQL)pg_dump version mis…500 — HTTP 500 Internal Server Error (HTTP)500App Service Application Error — Azure App Service: ":( Application Error" / container didn’t respond to HTTP pings (Azure)App Service Applica…InvalidOperationException — InvalidOperationException: Unable to resolve service for type 'X' while attempting to activate 'Y' (.NET)InvalidOperationExc…Exited (0) — Docker container exits immediately (Exited (0) / Exited (1) right after start) (Docker)Exited (0)Restarting (1) — Docker container keeps restarting (Restarting (1) x seconds ago) (Docker)Restarting (1)Init:CrashLoopBackOff — Pod status Init:CrashLoopBackOff / Init:Error (Kubernetes)Init:CrashLoopBackO…daemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemonConflict container name — Conflict. The container name "/x" is already in use by container … (Docker)Conflict container …listen EACCES — Error: listen EACCES: permission denied 0.0.0.0:80 (Node.js)listen EACCESECONNREFUSED — Error: connect ECONNREFUSED 127.0.0.1:5432 (Node.js)ECONNREFUSEDELIFECYCLE — npm ERR! code ELIFECYCLE / Command failed with exit code 1 (npm)ELIFECYCLEEPIPE — Error: write EPIPE (Node.js)EPIPE1020 — Cloudflare Error 1020: Access Denied (Cloudflare)1020OSError Errno 98 — OSError: [Errno 98] Address already in use (Python)OSError Errno 98CannotPullContainerError — ECS task stopped: CannotPullContainerError: pull image manifest has been retried ... / ref pull has been retried (AWS)CannotPullContainer…2002 — MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket (MySQL)200242703 — PostgreSQL: ERROR: column "x" does not exist (PostgreSQL)4270357014 — ERROR: canceling statement due to statement timeout (PostgreSQL)5701442701 — ERROR: column "x" of relation "y" already exists (PostgreSQL)42701data directory permissions — FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750). (PostgreSQL)data directory perm…incompatible data directory — FATAL: database files are incompatible with server — The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16 (PostgreSQL)incompatible data d…bind() failed (98: Address already in use) — nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) (Linux)bind() failed (98: …Unable to configure HTTPS endpoint — Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date (.NET)Unable to configure…actively refused it — HttpRequestException: No connection could be made because the target machine actively refused it (localhost:5001) (.NET)actively refused itUnsatisfiedDependencyException — UnsatisfiedDependencyException / NoSuchBeanDefinitionException: No qualifying bean of type 'X' available (Java)UnsatisfiedDependen…circular references — The dependencies of some of the beans in the application context form a cycle (Java)circular referencesDataSource url not specified — Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. (Java)DataSource url not …

Directly related (12)

nodemon crashedNode.js

[nodemon] app crashed - waiting for file changes before starting...

Your app threw an error on startup; nodemon is waiting for a file change to retry.

500.30.NET

HTTP Error 500.30 - ASP.NET Core app failed to start

IIS/Azure’s ASP.NET Core Module launched your app but it crashed during startup.

ExceptionInInitializerErrorJava

java.lang.ExceptionInInitializerError

A static initializer (static block or static field) threw an exception while the class was loading.

port is already allocatedDocker

Docker: Bind for 0.0.0.0:80 failed: port is already allocated

Another container or host process already publishes that host port.

EADDRINUSENode.js

Error: listen EADDRINUSE: address already in use :::3000

Another process is already listening on that port.

iptables: No chain/target/matchDocker

driver failed programming external connectivity on endpoint: iptables: No chain/target/match by that name

Docker’s iptables rules were wiped (firewalld/ufw reload, iptables flush) while Docker was running, so it can’t publish ports.

MySQL won't startMySQL

Job for mysql.service failed because the control process exited with error code

The MySQL/MariaDB service failed to start — the real reason is in the MySQL error log.

55006PostgreSQL

ERROR: database "x" is being accessed by other users — There is 1 other session using the database.

DROP/RENAME DATABASE can’t run while other sessions are connected.

postmaster.pidPostgreSQL

FATAL: lock file "postmaster.pid" already exists — Is another postmaster running in data directory?

PostgreSQL won’t start because a stale postmaster.pid file remains (or another instance really is running).

57P03PostgreSQL

FATAL: the database system is starting up

PostgreSQL is still starting (or recovering) and not accepting connections yet.

Failed to bind to address.NET

System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use

Kestrel can’t listen because another process (often a previous run of the same app) uses the port.

Port 8080 in useJava

Web server failed to start. Port 8080 was already in use.

Spring Boot couldn’t bind its embedded server port because another process uses it.

Two steps away (30)

MODULE_NOT_FOUNDNode.js

Error: Cannot find module 'x' (MODULE_NOT_FOUND)

Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.

npx executablenpm

npm ERR! could not determine executable to run

npx couldn’t find a binary to run for that package.

pg_dump version mismatchPostgreSQL

pg_dump: error: aborting because of server version mismatch

Your pg_dump client is older than the server you’re dumping.

500HTTP

HTTP 500 Internal Server Error

The server hit an unexpected condition — usually an unhandled exception or misconfiguration in the application.

App Service Application ErrorAzure

Azure App Service: ":( Application Error" / container didn’t respond to HTTP pings

App Service started your app but it crashed or never listened on the expected port.

InvalidOperationException.NET

InvalidOperationException: Unable to resolve service for type 'X' while attempting to activate 'Y'

ASP.NET Core’s dependency injection container can’t build Y because one of its constructor dependencies (X) was never registered.

Exited (0)Docker

Docker container exits immediately (Exited (0) / Exited (1) right after start)

The container started and its main process finished at once, so the container stopped — Docker containers only live as long as PI…

Restarting (1)Docker

Docker container keeps restarting (Restarting (1) x seconds ago)

The container crashes on start and its restart policy (always/unless-stopped/on-failure) starts it again in a loop.

Init:CrashLoopBackOffKubernetes

Pod status Init:CrashLoopBackOff / Init:Error

An init container keeps failing, so the pod’s main containers never start.

daemonDocker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.

Conflict container nameDocker

Conflict. The container name "/x" is already in use by container …

A container (running or stopped) already has that name; Docker won’t create a second one with the same name.

listen EACCESNode.js

Error: listen EACCES: permission denied 0.0.0.0:80

Node isn’t allowed to bind that port — ports below 1024 need root on Linux/macOS, and some Windows ports are reserved.

ECONNREFUSEDNode.js

Error: connect ECONNREFUSED 127.0.0.1:5432

Nothing is listening at that host:port — the target service is down or you’re connecting to the wrong address.

ELIFECYCLEnpm

npm ERR! code ELIFECYCLE / Command failed with exit code 1

An npm script (build, start, test, postinstall) exited with an error. ELIFECYCLE is only the wrapper — the real error is printed…

EPIPENode.js

Error: write EPIPE

Node wrote to a pipe or socket whose other end was already closed.

1020Cloudflare

Cloudflare Error 1020: Access Denied

A Cloudflare firewall/WAF custom rule blocked the request — the visitor’s IP, country, user agent or request pattern matched a bl…

OSError Errno 98Python

OSError: [Errno 98] Address already in use

The port your server wants to bind is already taken by another process.

CannotPullContainerErrorAWS

ECS task stopped: CannotPullContainerError: pull image manifest has been retried ... / ref pull has been retried

The ECS task couldn’t pull its image — no network route to the registry, missing ECR permissions, or a wrong image tag.

2002MySQL

MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket

The client couldn’t reach the MySQL server — it isn’t running, or the client is looking for the socket/port in the wrong place.

42703PostgreSQL

PostgreSQL: ERROR: column "x" does not exist

PostgreSQL can’t find the column — a missing migration, a case-sensitive quoted name, or a string literal written in double quote…

57014PostgreSQL

ERROR: canceling statement due to statement timeout

A query ran longer than statement_timeout and PostgreSQL cancelled it.

42701PostgreSQL

ERROR: column "x" of relation "y" already exists

ALTER TABLE ADD COLUMN for a column that’s already there.

data directory permissionsPostgreSQL

FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).

PostgreSQL refuses to start because the data directory is too open or owned by the wrong user.

incompatible data directoryPostgreSQL

FATAL: database files are incompatible with server — The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16

A newer (or older) PostgreSQL major version was started on an existing data directory.

bind() failed (98: Address already in use)Linux

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Nginx (or another server) can’t listen on the port because another process already holds it — often Apache, another Nginx, or a s…

Unable to configure HTTPS endpoint.NET

Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date

Kestrel was told to listen on HTTPS but has no certificate — the ASP.NET Core dev certificate is missing/expired, or production d…

actively refused it.NET

HttpRequestException: No connection could be made because the target machine actively refused it (localhost:5001)

Nothing is listening on the host/port the client called — the API isn’t running, uses another port, or the container/network addr…

UnsatisfiedDependencyExceptionJava

UnsatisfiedDependencyException / NoSuchBeanDefinitionException: No qualifying bean of type 'X' available

Spring couldn’t find (or choose) a bean to inject.

circular referencesJava

The dependencies of some of the beans in the application context form a cycle

Two or more Spring beans depend on each other through constructors, and Spring Boot 2.6+ forbids cycles by default.

DataSource url not specifiedJava

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Spring Boot found JDBC/JPA on the classpath but no database URL.