mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Previously, the auto-configuration for embedded Mongo did not specify a bind IP so Mongo was started without one. This would lead to Mongo binding to all available network interfaces. This caused some friction with the Windows firewall as it would ask for permission every time embedded Mongo was launched. This commit updates the auto-configuration to use spring.data.mongodb.host to configure the bind IP for embedded Mongo. If spring.data.mongodb.host is null, the auto-configuration will use the loopback address instead. Closes gh-4630 |
||
---|---|---|
.. | ||
src | ||
pom.xml |