Swagger uses default port

Hey team,
when i use the strapi documentation plugin, swagger always uses port 1337, even if strapi is configured to use a different port. am i missing sth?
thanks for your help!