Use curl -4 ifconfig.me command in cmd to get correct IP because of some network configuration or proxies mongodb will pick wrong public IP.