Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

311
Visualizações
window.location not redirecting if address(port) specified is running on another app

If I run just my frontend app on port 3000, then location.pathname = http://localhost:8082 redirects just fine on a button click to localhost:8082. When I start additional service on another terminal tab on port 8082, my button stops working and just does nothing, no redirecting. If I stop the app on 8082, then button again redirects successfully.

More specifically, when I click button to do redirecting - nothing happens when localhost:8082 is running. When I terminate this process, then the redirection happens straight away even without the button click. Something seems to preventing browser to redirect while 8082 process is running.

It used to work just a couple of days ago and I am just lost on ideas what could be causing this?

Might this be related to my kubernetes setup or vhosts file? This happens on various browsers.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Issue was that I had .../auth/... in the 8082 service's URL instead of correct .../oauth/.... God knows why this prevented from redirecting to a wrong url and instead just did nothing.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda