I've just created a very basic Spring Boot project using Spring Tool Suite with mongoDB-reactive
dependency and run the app but, I keep getting the following exceptions
2019-11-27 00:31:19.699 INFO 11988 --- [localhost:27017] org.mongodb.driver.cluster : Exception in monitor thread while connecting to server localhost:27017
com.mongodb.MongoSocketOpenException: Exception opening socket at com.mongodb.connection.netty.NettyStream$OpenChannelFutureListener.operationComplete(NettyStream.java:410) ~[mongodb-driver-core-3.11.2.jar:na] at
I am using Spring Boot (2.2.1.RELEASE)
Inside applications.properties
I've added the following line
spring.data.mongodb.uri=mongodb://localhost:27017/testdb
What am I missing?