check the tcp port if used