Westport is a coastal town of colonial origin located along Long Island Sound in Fairfield County, Connecticut, 47 miles northeast of New York City in the United States. The town had a population of 26,391 according to the 2010 U.S. Census and in 2008 ranked the tenth wealthiest town in the U.S. with populations between 20,000 and 65,000, and second in the state.