Checking Port Status and Connectivity