dwyl / dwyl/learn-postgresql

Port 5432 is already in use ...

Open
#60 22 comments 8 reactions 0 assignees View on GitHub
chore technical
Dominant language
JavaScript
Stars
346
Forks
37
PR merge metrics
No merged PRs in 30d

Description

If when you open the Postgres.app you see the following error message:
![image](https://user-images.githubusercontent.com/194400/55338749-42dcb200-5499-11e9-8700-560fa609cf44.png)
Or clicking "start" shows you the message:
![image](https://user-images.githubusercontent.com/194400/55338808-5ab43600-5499-11e9-8527-493b913b33a2.png)

```
Port 5432 is already in use
Usually this means that there is already a PostgreSQL server running on your Mac.
If you want to run multiple servers simultaneously, use different ports.
```
Running
```
lsof -i :5432
```
As suggested in this SO:
https://stackoverflow.com/questions/12028037/postgres-app-could-not-start-on-port-5432
I see that:
![image](https://user-images.githubusercontent.com/194400/55338990-baaadc80-5499-11e9-844f-65bb83702faa.png)

I quit DBeaver and then Postgres.app could connect. 👍

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.