I am trying to build an application with mongoDB and Python Flask. While running the application, I am getting below error:
ConfigurationError: Server
First you change the server from ubuntu software center follow step
1- Search Software & update in ubuntu software center
2- Select Download from select Other then right side select Select best server it will take some time if it's complete
try to re install mongodb from this command
Step 1
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
Step 2
sudo apt-get update
step 3
sudo apt-get install -y mongodb-org