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

250
Views
Strict CSP rule in place - Is there an alternative mechanism to call localhost?

I've service running my colleagues workstations locally (127.0.0.1), and I would like to call that service when they visit mysite.com, but I do have a strict CSP rule to enforce that no CORS is allowed.

CSP Error

Refused to connect to 'http://127.0.0.1/api/verify' because it violates the following Content Security Policy directive: "connect-src 'self'

I understand I can relax my CSP rules to allow connect-src: 127.0.0.1, but I would like to check with the community on whether there is an alternative mechanism to call the local service without update CSP rules.

Note: I have multiple sites that call the local service.

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!