Connection refused when doing fetch request to Strapi API with

System Information
  • Strapi Version:4.5
  • Operating System: Windows
  • Database: Mysql
  • Bun Version: V.0.3.0
  • NPM Version: 6.14.16

i had set up a Strapi backend. with a content page. I gave the permission to acces the API. And i can do a succesfull http get request with Postman and Node.js but when i try it with i get a connection refused error.