Add a appUIHostPort routine