
docker-compose.yml 파일이나 Docker Compose 설정 자체에는 문제 없음 (다른 팀원들은 정상적으로 연결)postgres 데이터베이스에는 정상적으로 연결 << ?fourseason 데이터베이스에는 연결되지 않음docker compose down / docker compose updocker ps -adocker rm db9c9189e4e2
sudo lsof -i :5432kill 9 {PID}
- Mac에서는 brew services로 설치한 경우, kill로 프로세스를 종료해도 자동으로 다시 실행ps -ef | grep postgres
host.docker.internal 활용brew uninstall postgresql@14를 했는데도 왜 로컬 PostgreSQL이 종료되지 않았을까?brew uninstall postgresql@14을 실행하면 PostgreSQL 패키지가 삭제되지만 이미 실행 중인 프로세스는 자동으로 종료되지 않음brew services start postgresql을 실행하는 순간 로컬 PostgreSQL이 5432 포트를 점유