Isn't it the expected behavior?
When YaCy is configured to use UPnP, the main HTTP port specified on ConfigBasic.html may be mapped to another port between 49152 and 65535 which is the standard "Dynamic Ports range" (see https://tools.ietf.org/html/rfc6335#section-8.1.2 [^])