Added local host support for Kun's machine