2 Samuel 3:27

3:27 When Abner returned to Hebron, Joab took him aside at the gate as if to speak privately with him. Joab then stabbed him in the abdomen and killed him, avenging the shed blood of his brother Asahel.

2 Samuel 10:8

10:8 The Ammonites marched out and were deployed for battle at the entrance of the city gate, while the men from Aram Zobah, Rehob, Ish-tob, and Maacah were by themselves in the field.

2 Samuel 11:23

11:23 The messenger said to David, “The men overpowered us and attacked us in the field. But we forced them to retreat all the way to the door of the city gate.

2 Samuel 18:4

18:4 Then the king said to them, “I will do whatever seems best to you.”

So the king stayed beside the city gate, while all the army marched out by hundreds and by thousands.

2 Samuel 18:24

18:24 Now David was sitting between the inner and outer gates, and the watchman went up to the roof over the gate at the wall. When he looked, he saw a man running by himself.