Redirection is not working properly for authentication page

http://apps.local.edly.io:8000/authn/register?next=%2F is hitting 8000 instead of 1999
I tried to rerun launch, recreated the images, checked the mfe urls inside lms shell and all but this is not resolving. Anybody if they can help here what can be done.

Hey Boghani, what are you trying to achieve? Could you explain that?
If you are already logged in, you’ll get redirected to the port 8000 itself.

Yes, like whenever I click on register/login it redirect to 8000 port authn url instead of 1996 authn url.