BS: Using the task's port instead of the application port for routing. Regression fix