simple port state checker