Original: It is the largest city of the country and main port, which borders the Indian Ocean.
Simplified: The city is a port on the Indian Ocean. It is the largest city and main port of the country.