Code Context echo 'Lỗi kết nối: '.$_SERVER['SERVER_ADDR'];
$this->error = $e->getMessage();
trigger_error($this->error);
$host = 'mongodb://172.16.33.6:27017'
$e = object(MongoConnectionException) {
[protected] message => 'Failed to connect to: 172.16.33.6:27017: Previous connection attempts failed, server blacklisted'
[protected] code => (int) 71
[protected] file => '/home/toptopweb/domains/phutunglinhkienoto.com/public_html/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php'
[protected] line => (int) 202
}
MongodbSource::connect() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 206
MongodbSource::isConnected() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 333
AppController::setup() - APP/Controller/AppController.php, line 87
PluginsController::index() - APP/Controller/PluginsController.php, line 170
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 109