I've setup a plain web API in .NET 6. App runs smoothly, no errors there, it also has Swagger configuration and I'am able to use it to send requests. Everything works fine.
However, I wanted to use RestClient extension (latest version) for VS Code and I can't send any request through it (on my local machine with Win 10). I've checked urls, ports etc. everything seems fine. Im getting an error:
The connection was rejected. Either the requested service isn’t running on the requested server/port, the proxy settings in vscode are misconfigured, or a firewall is blocking requests. Details: RequestError: connect ECONNREFUSED
I've tried disabling whole firewall on my PC, reinstalling extension, running both VS and VS Code as admin, disabling cors in app.
Any ideas what is going wrong? :D