The people who live in cities tended to be those who couldn't put up with the feudal system, so you'd get a lot of the misfits and such in the cities.
At least that's what I've read, or sons who couldn't inherit anything would often run away to the cities, and a long the coast they'd be the...