The official website for The Settlers of Catan

Question about Base Game Settlements and Cities - May I build a settlement on the coast if no harbor hex is located there? Because in that case it wouldn't be an intersection!

Answer

Yes. According to Catan’s building law, each point where three hexes meet is an intersection.