If your server runs a firewall (KnownHost servers do by default) this port will need to be opened in the firewall as well if you set it to a non-standard port.
To set up an alternative port, go to WHM » Service Manager. Set the port number to 26 at "Allow exim to listen on port" and save the configuration.