Replies: 1 comment
-
|
Hi Short answerYour MongoDB is only bound to ExplanationYour MongoDB log shows: This means MongoDB accepts connections only from the same host/network namespace. If Laravel is running inside Docker (or another VM), How to fix it
DB_CONNECTION=mongodb
DB_HOST=mongodb
DB_PORT=27017
DB_DATABASE=homestead
Hope this helps !! 🙌 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have properly set all the configurations for Laravel .env and database.php
Also ran db with
mongodat the terminal w/ admin privilege.What am I missing here?
.env
database.php
How is my database not properly configured?
I'm sure that this is more on db issues since it indicates
not properly configuredrather thannot configuredBeta Was this translation helpful? Give feedback.
All reactions