the static port is used to operate your airspeed indicator, the altimeter, and the VSI. It allows the instruments to measure static (ambient) pressure. The static port is located in a position where the airflow is not disturbed, usually on the side of an airplane. Normally on a C172, at least the ones I have flown, it is located just aft of the cowling on the left side of the airplane.