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 Durango from the ocean
How far is Santa Rosa, CA from the ocean
How far is Hershey from the ocean
How far is Medford from the ocean
How far is Kihei from the ocean
How far is Colorado Springs from the ocean
How far is San Pedro, CA from the ocean
How far is Pacifica from the ocean
How far is New York City from the ocean
How far is Puno from the ocean