azat-co / mongoui

MongoDB admin UI server written in Node.js 🎮
MIT License
585 stars 132 forks source link

unable access database from domain #71

Closed legolass73 closed 2 years ago

legolass73 commented 4 years ago

Hello, I want to access my domain's database, how can I do it. I tried to put my domain in variable "PUB_API_HOST" but I always get the same error "Connecting to the database... If nothing happens, check that your database is running and accessible. For example, with the command "mongod" the database will run on localhost:27017. See more instructions at https://github.com/azat-co/mongoui" and in the console it still shows me localhost:3001. What should I do to resolve this error?

Translated with www.DeepL.com/Translator (free version)