'Cannot start Postgres on port 5432

I just installed postgres.app, but when I try to start the server I get the following error:

enter image description here

After checking some answers in a similar thread I verified that my PATH is defined correctly and that no other process is running on port 5432:

enter image description here

So what's going on with port 5432?



Solution 1:[1]

Simple solution. Uninstalled and reinstalled and now everything works on port 5432. Very strange error, I am curious if anyone has any ideas about how this happened.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 accidentalcaveman