What's the API code to find all ports that are currently open?