Using ethers, invalid cors

I want to use ethers for calling functions
in the instructions I saw I need the NODE_URL I presume the meaning is speedy nodes and not server_node ( I tried both).

this is what I am seeing

this is my code

import { ethers } from "ethers";
......
 const ethers = Moralis.web3Library;

 const NODE_URL =
    "https://speedy-nodes-nyc.moralis.io/xxxxxx/bsc/testnet";
  const provider = new ethers.providers.JsonRpcProvider(NODE_URL);

  async function info() {
    const signer = provider.getSigner();
    const contractAddress = "0x21daB594d4726d1e12fAD9b5aE7EE270C07F6b75";
    const contract = new ethers.Contract(contractAddress, abi, provider);
.....
}

how can I overcome the issue?

you can get that error also when that url is not accessible, it can happen when you have VPN for example

vpn is off the issue is still on
what can I do?
NODE_URL is speedy node link?

the node url seems fine, yes, it is the speedy node link

the problem is the provider
do you think that is happening due to the fact that I am calling to the speedy nodes, and server url?