Resolving Docker Container to PostgreSQL Connection Issues: A Technical Guide

Docker container running on port 3000 unable to connect to local PostgreSQL database despite successful build-time connection.