Answer the question
In order to leave comments, you need to log in
PhPStorm + Homestead connection to PostgreSQL DB?
Through ssh it turns out to connect to the database:
psql -U homestead -h localhost my_db_name
But through the manager, the panel on the right, I create a new connection:
Host: 127.0.0.1
Database: my_db_name
User: homestead
Secret: secret
URL: jdbc:postgresql://127.0.0.1:5432/postgres
Connection to [email protected] failed.
[08001] Connection to 127.0.0.1:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
192.168.10.10
vagrant
Key Pair(Open SSH)
C:\Users\userName\.ssh\id_rsa
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question