Remote transfer error with custom ports

I’m trying to transfer sites between 2 CentOS 8 Cyberpanel installs, but I’m getting this error:

Not able to fetch version of remote server. Error Message: HTTPSConnectionPool(host=‘IPADRESS’, port=8090): Max retries exceeded with url: /api/cyberPanelVersion (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7f716831d470>: Failed to establish a new connection: [Errno 111] Connection refused’,))

Both installs have SSL on hostname, but it seems Cyberpanel is trying to connect on port 8090. I use port 2082 on both installs. I have not blocked port 8090 nor 2082, but when you change port on Cyberpanel, the port 8090 can’t be used anymore.

Anyone knows how to fix this or the file(s) where I should manually change the port from 8090 to 2082? (Assuming that’s the actual error, of course)

It’s different from this other error, where the solution was not made public:

Greetings,