question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Postgresql port 5432 is already in use error.

See original GitHub issue

Bug report

Describe the bug

I get postgresql port 5432 is already in use error. I am currently running docker on synology NAS and I am aware of that other packages in synology(plex server, photo station etc. ) already uses postgresql. I don’t want stop those packages for supabase rather I want my supabase to work without killing other process that use postgresql.

To Reproduce

sudo docker-compose up -d

Expected behavior

localhos:3000 opens up supabase studio with table editing function

Screenshots

Termius-2022 12 11 00 08-000408 Google Chrome-2022 12 11 00 15-000410

System information

  • Synology NAS DS220+
  • OS : DSM 7.1.1-42962 Update 1

Additional context

Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Hallidayocommented, Dec 14, 2022

@burmecia - #10959 has solved my issue.

1reaction
burmeciacommented, Dec 12, 2022

A workaround is to replace this line, with port number 6432 or port number other than 5432.

From

      - ${POSTGRES_PORT}:5432

To

      - 6432:5432
Read more comments on GitHub >

github_iconTop Results From Across the Web

PostgreSQL - port 5432 already in use - DEV Community ‍ ‍
In my case, I downloaded PostgreSQL, but apparently I already had a different version running on my computer and it was using the...
Read more >
Port 5432 is already in use - GitHub
Port 5432 is already in use Usually this means that there is already a PostgreSQL server running on your Mac. If you want...
Read more >
Postgres.app Could not start on port 5432 - Stack Overflow
HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory or swap space, or exceeded your ...
Read more >
usually this means that there is already a postgresql server ...
Port 5432 is already in use Usually this means that there is already a PostgreSQL server running on your Mac. If you want...
Read more >
Could not start Postgres database, The port 5432 is in use.
Hi Roman, The default port used for Postgres DB is 65432. This can be checked by executing sh ChangeDBserver.sh from the Bin directory....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found