Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

313
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda