check env port