localhost fallback if no hostname defined