Error: connect ECONNREFUSED
Author: blumonkeyCreated Jun 27, 2015Updated Mar 20, 2024
Hi, I am trying to setup the CORS-Anywhere server and am facing this problem whenever I try to access a URL
//URL: http://localhost:1337/google.com (I use 8080 for tomcat)
Not found because of proxy error: Error: connect ECONNREFUSEDAt first I got the Missing headers message, I tried 2 things:
- Remove the
requireHeaderoption (ie set it tonull) - Left the recommended
requireHeaderas-is and added them in thecreateServerfunction
Both of them give the same error as shown above. Any help is appreciated. Thanks.
Source: Rob--W/cors-anywhere