|
@@ -22,7 +22,7 @@ public class MongoConfig extends AbstractMongoClientConfiguration {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public MongoClient mongoClient() {
|
|
public MongoClient mongoClient() {
|
|
- ConnectionString connectionString = new ConnectionString("mongodb://jtxt-admin:jtxt-admin@localhost:27017/?authSource=jtxt-dev");
|
|
|
|
|
|
+ ConnectionString connectionString = new ConnectionString("mongodb://jtxt-admin:jtxt-admin@120.77.221.199:27017/?authSource=jtxt-dev");
|
|
MongoClientSettings mongoClientSettings = MongoClientSettings.builder()
|
|
MongoClientSettings mongoClientSettings = MongoClientSettings.builder()
|
|
.applyConnectionString(connectionString)
|
|
.applyConnectionString(connectionString)
|
|
.build();
|
|
.build();
|