taking port configuration from environment