Probably going to be crucified by those who know eminantly more than me but..
As far as I know the static port is carefully located in a point of stagnation of the Airflow. This means that the local airflow has reduced to zero due to the shape of the fuselage. Since the speed is always zero, the ambient static pressure is zero. let me P.M Genghis and see what he can add.