Made the hostname configurable in localbackend