check all inbound port open linux code example Example: check what ports are open linux ## if you use linux sudo ss -tulw