Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

180
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!