Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Mark Paluch, 1 year ago
host and port should be specified in host:port format
via JIRA by Mark Paluch, 1 year ago
host and port should be specified in host:port format
via GitHub by ziapapa
, 1 year ago
com.mongodb.MongoException: host and port should be specified in host:port format at com.mongodb.ServerAddress.<init>(ServerAddress.java:122) at com.mongodb.connection.ClusterSettings$Builder.hosts(ClusterSettings.java:102) at com.mongodb.Mongo.createCluster(Mongo.java:670) at com.mongodb.Mongo.<init>(Mongo.java:281) at com.mongodb.Mongo.<init>(Mongo.java:277) at com.mongodb.MongoClient.<init>(MongoClient.java:174) at com.mongodb.MongoClient.<init>(MongoClient.java:151) at com.mongodb.MongoClient.<init>(MongoClient.java:121)