Identifying ports in use on Mac and Windows Operating Systems