Rockport is a town in Essex County, Massachusetts, United States. The population was 7,767 at the 2000 census. Rockport is located approximately 25 miles northeast of Boston at the tip of the Cape Ann peninsula. It is directly east of Gloucester, Massachusetts and surrounded on three sides by the Atlantic Ocean. Part of the town comprises the census-designated place of Rockport. The 1957-1958 adventure/drama television series, Harbourmaster, starring Barry Sullivan, is set in Rockport.