Checking env var for port