Browser Login, Can't Connect To localhost:57728

I use firefox. When I try to login.

  1. I Press "Log in with browser" The blue button in the launcher.
  2. I log in in my browser.
  3. When I press Authorize. I get this messege.

Firefox can’t establish a connection to the server at localhost:57728

I dont understand what goes wrong. I have tried using Chrome, Edge and opera and nothing works.
For some reason localhost:57728 is blocked and I dont know how to fix it. Have not been able to play for month and nothing has worked.
Please Help. I just want to play

This post is deleted!

@eternal Can you be more specific? I tried that and I still get the same error messege.
I have tried with every brower I can think of.