Ports

The expression means that the other ship opened the hinged covers over the gun ports -- those being the little square apertures in the ship's side out of which they poked the cannon. See drawing of nautical terms in HMS Pinafore, Item No. 12.

Context: 
and she up with her ports
Opera: 
Act: 
Act I