If lsof -i :5432
doesn’t show you any output, you can use sudo ss -lptn 'sport = :5432'
to see what process is bound to the port.
Proceed further with kill <pid>
More Related Contents:
- psql: FATAL: role “postgres” does not exist
- How can I start PostgreSQL server on Mac OS X?
- `pg_tblspc` missing after installation of latest version of OS X (Yosemite or El Capitan)
- psql: could not connect to server: No such file or directory (Mac OS X)
- Where is /var/lib/docker on Mac/OS X
- Mounts denied. The paths … are not shared from OS X and are not known to Docker
- Completely uninstall PostgreSQL 9.0.4 from Mac OSX Lion?
- How to increase docker-machine memory Mac
- Cannot connect to the Docker daemon on macOS
- Postgres – FATAL: database files are incompatible with server
- Upgrade Node.js to the latest version on Mac OS
- How do you reset the stored credentials in ‘git credential-osxkeychain’?
- Where can I find a list of Mac virtual key codes?
- Replace comma with newline in sed on MacOS?
- MATLAB: how to display UTF-8-encoded text read from file?
- gdb doesn’t work on macos High Sierra 10.13.3
- Variables overwriting text problem with “echo” in Bash
- Battery status API in macOS?
- How to allow keyboard focus of links in Firefox?
- Mac OS: /usr/bin/env: bad interpreter: Operation not permitted
- Connect VS code with TFS on mac
- Docker – How can run the psql command in the postgres container?
- Where to find extensions installed folder for Google Chrome on Mac?
- Starting and populating a Postgres container in Docker
- Using Homebrew with alternate GCC
- How do I set a task to run every so often?
- Android Studio Out of Memory
- Convert Virtual Key Code to unicode string
- How can I eliminate slow resolving/loading of localhost/virtualhost (a 2-3 second lag) on Mac OS X Lion?
- Mac OS X 10.9 – setting permanent environment variables