check ports if open