Solving “Proxy error: Could not proxy request xxx from yyy” from local ReactJS app to NodeJS app

How to fix “Proxy error: Could not proxy request xxx from yyy” in local NodeJS app

So, while I am calling from a ReactJS app, listening on port 3000, locally to also locally running NodeJS app, listening on port 8000, I was using the proxy parameter in package.json in ReactJS. But I was getting the following error.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bryant Jimin Son

Bryant Jimin Son

A cloud practitioner talking about technology, travels & career tips. But I will sometimes cover financial advises and some random stuffs.