0

 Im following instructions, but there is a problem im facing. After editing and copying .env file to root directory I run the npm start , the server is running and database is connected. Until now it seems to works well. But after clicking the link sending to localhost:5000 it displays network error in the browser and this error in the terminal and the app is crashed.

<code>    callback(new error_1.MongoServerError(document));
    MongoServerError: user is not allowed to do action [find] on [mern-amazona-db.products]
</code>

Im trying to figure it out on my own to get unstuck, but im running out of ideas. And in console there is :
Failed to load resource: net::ERR_CONNECTION_REFUSED

It would be nice to get some help, just to follow your course.

Lukas

Lukas Asked question October 25, 2022