Create simple Laravel application and up Laravel Sail.
Here is how database service looks in Docker Desktop:
Then try (unfortunately) to access this database host from PhpStorm Database Tools:
At this screenshot appear still unknown error of connection. More information you can see at the next screenshot when I try to open table (table list remains since this database connection was not in docker):
So, host pgsql is not reachable. Same for localhost or host.docker.internal.
How to open this database in PhpStorm Database Tools?


