 Mogadishu ( / <unk> / ; Somali : <unk> ; Arabic : <unk> <unk> ) , known locally as Hamar , is the capital and most populous city of Somalia . Located in the coastal Banaadir region on the Indian Ocean , the city has served as an important port for millennia . As of 2015 , it had a population of 2 @,@ 120 @,@ 000 residents . 
