port detection on win7