Skip to content
Advertisement

IlluminateDatabaseQueryException: SQLSTATE[HY000] [2002] in file Illuminate/Database/Connection.php on line 678

I have Laravel installed on Mac using docker. I connecting to it with postman

The method ge returns this error:

JavaScript

Advertisement

Answer

Only change localhost to your computer’s IP address.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement