"So the other disciple, whom the high priest knew"
The doorkeeper was a woman.
The word "he" refers to the other disciple.