* MM-26883/26884: properly identify interface name for test services We were just hardcoding to dockerhost which would only work inside a CI environment. This PR generalizes the logic to use fallbacks if dockerhost is not available. * Incorporate review comments