Can Replit access port 8545 (HardHat local Ethereum node)

Hi there!

Can Replit project connect to local Ethereum node? I have a Hardhat network running and I want a Js file on Replit to access port its port: 8545

Basically I am using the ether library, and at some point I have errors when calling some Ether function: Error triggering function: connect ECONNREFUSED 127.0.0.1:3001

Well, yes Hardhat is not running on 3001…

Any idea, how to access 8545 from Replit?

Thanks!