Connectivity of rough contacts in plane and axially symmetric cases