Internet and cellphone connections have been disrupted or restricted in Cairo, Alexandria and other places, cutting off social-media Web sites that had been used to organize protests and complicating efforts by the news media to report on events on the ground.