Porto is very close to the ocean. It's basically about 4157 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Matosinhos.
How far is Fairbanks from the ocean
How far is Atlanta from the ocean
How far is Phoenix from the ocean
How far is Dallas from the ocean
How far is Kansas City, KS from the ocean
How far is Austin from the ocean
How far is Albany, NY from the ocean
How far is Provincetown from the ocean
How far is Fort Lauderdale from the ocean
How far is Da Lat from the ocean