HI Everyone,
I am unable to connect my MongoDb(V4.4) Atlas Cluster from Spring Boot Application. Please Find The below Screenshot.
Thank You in Advance
HI Everyone,
I am unable to connect my MongoDb(V4.4) Atlas Cluster from Spring Boot Application. Please Find The below Screenshot.
Thank You in Advance
The error indicates that you are trying to connect to
localhost:27017
This is not the address of your Atlas Cluster. It means your application is not configured correctly. Go over the installation/configuration instructions and make sure you specify the appropriate URI.
Hello Sandeep did your error het resolved ?
I am facing same issue i have applied exclusions at the MainApp runner class as shown below :
@SpringBootApplication(exclude = {
MongoAutoConfiguration.class,
MongoDataAutoConfiguration.class
})
@NoArgsConstructor
@EnableAutoConfiguration
public class MainApplication {