Specialist products can be used to dissolve toilet ring wax. A magic eraser is a common choice, but scrubbing with mineral spirits will also work.