using env vars for port and host