I just created a fresh laravel project and I\'m using a Homestead vagrant box by running
vagrant init laravel/homestead
and aft
[Official Doc][1]
[1]: https://laravel.com/docs/5.8/homestead#connecting-to-databases is instructed to use port 33060 for MySQL and 54320 for PostgreSQL
A homestead database is configured for both MySQL and PostgreSQL out of the box. To connect to your MySQL or PostgreSQL database from your host machine's database client, you should connect to 127.0.0.1 on port 33060 (MySQL) or 54320 (PostgreSQL). The username and password for both databases is homestead / secret.