China shuts ports