Fatal error: Uncaught exception 'MongoConnectionException' with message 'Failed to connect to: localhost:27017: Remote server has closed the connection' in /opt/lampp/htdocs/hosts/indiaaclick.com/www/city.php:8 Stack trace: #0 /opt/lampp/htdocs/hosts/indiaaclick.com/www/city.php(8): MongoClient->__construct() #1 {main} thrown in /opt/lampp/htdocs/hosts/indiaaclick.com/www/city.php on line 8