Military installations on foreign soil are not U.S. territory.
The canal zone was US territory until the Peanut gave it away.