Which came first? The people or the port? Most models tend to see the port being created and the people moving in after the fact.
Fort William/Port Arthur, Sault Ste Marie, Detroit, York, Montreal, Quebec, Halifax, Victoria, even Iqaluit. All of them started as trading posts...