mongodb config uses ip instead of localhost