You can use SVCENAME = 50000 to set the parameter svcename directly through DB2 update DBM CFG, which is also effective.
If it is set to db2c_DB2, the mapping relationship with 50000 must be added to the services file, which is located in the directory C: \ windows \ System32 \ drivers \ etc under Windows. This can change the port number without configuring database parameters.