SLA-725 support PORT and HOST environment for PaaS support

/to @sam-github