Only certain cities can build naval ports. In a future patch every coastal city will be able to construct a transport with 0 attack and 0 defense though.