fix(https): apply the requested port before enabling the listener
fix(https): apply the requested port before enabling the listener: a task in github-trending-environments-10k (Harbor dataset). Title: fix(https): apply the requested port before enabling the listener
The task
**Title:** fix(https): apply the requested port before enabling the listener