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

187
Vistas
CORS error when using WebStorm integrated server

I'm creating a webpage with JavaScript and fetch for API requests for an internal use.

My IP is authorized on the server for API request but for the development I use the WebStorm integrated server (on localhost) so when I make a fetch request, the origin in the request headers is set to http://localhost:63342 and the request is blocked because of CORS.

I tried to edit this request in Firefox's Seveloper Tools to set the origin header to my external IP address and it worked great. However I wasn't able to edit it in the JavaScript fetch code.

The used API is Acronis and I can't add localhost, 127.0.0.1 or 192.168.1.13 to the list of authorized IP.

Is there a way to bypass this automatic header or force Firefox to use the external IP instead of the "real one" which is localhost here?

about 4 years ago · Juan Pablo Isaza
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