Set hostname to localhost