---
title: "Discussion on \"Custom local domain solves CORS and other issues\" | Hashnode"
description: "Discussion on \"Custom local domain solves CORS and other issues\". Problem\nhttp://localhost:3000 can’t call your remote API because of browser-enforced limitations involving CORS, cookie sharing, and HTTPS.\nSolution\nSet up local.yourdomain.com on your dev machine so your browser will successfully call your remote se..."
url: "https://hashnode.com/posts/custom-local-domain-solves-cors-and-other-issues/661d766e63369e9d82304e49"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Custom local domain solves CORS and other issues](https://jordanbrennan.hashnode.dev/custom-local-domain-solves-cors-and-other-issues?utm_source=hashnode&utm_medium=feed)

Problem http://localhost:3000 can’t call your remote API because of browser-enforced limitations involving CORS, cookie sharing, and HTTPS. Solution Set up local.yourdomain.com on your dev machine so your browser will successfully call your remote se...

Apr 15, 2024 · 3 min read · jordanbrennan.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Jordan Brennan](https://hashnode.com/@jfbrennan)

@jfbrennan · Tulsa

  
[View profile](https://hashnode.com/@jfbrennan)

Frontend engineer

## Responses

Markdown supported · ⌘↵ to post

[Pavel Isel Perez Pupo](https://hashnode.com/@pavelxometry)

[Aug 16, 2024](https://hashnode.com/posts/custom-local-domain-solves-cors-and-other-issues/661d766e63369e9d82304e49/comment/66bfc103c95b32b5a91471e8)

I've been using local-ssl-proxy, you can find it in npm
