Which port should I use?

Your ports can be found in the control panel for your instance. On dedicated plans, it's possible to change ports. Available ports are

Instance type  Plain MQTT MQTT over TLS MQTT over Websockets
Shared 1XXXX 2XXXX 3XXXX
Dedicated 1883 8883 443