Skip to content

Commit

Permalink
ip address
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed Apr 10, 2024
1 parent 018f6b6 commit cec6b87
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ MongoClientSettings.Builder mongoClientSettingsBuilder() {
new ServerAddress(host(), port()))));
}

/** Return an IP address to ensure remote IP checks work. */
String host() {
return getHost();
return "127.0.0.1";
}

int port() {
Expand Down

0 comments on commit cec6b87

Please sign in to comment.