Cannot properly deploy smart contract with web3 1.2.4 provider in Geth 1.9.8

I have setup a private Ethereum node using the following configuration for the genesis block: { “config”: { “chainId”: 143, “homesteadBlock”: 0, “eip150Block”: 0, “eip155Block”: 0, “eip158Block”: 0 }, “alloc”: {}, “difficulty” : “0x40000”, “gasLimit” : “0x8880000” } I am running the geth client with the following commands cmd args: geth –port 3000 –networkid 44444…

NodeJS + Web3 + Infura Ropsten – Error: Invalid JSON RPC response: “”

I have problem with invalid response to ethereum from BE NodeJS app. I got error like: Error: Invalid JSON RPC response: “” Below I’d attached my simple code for testing connection. const Web3 = require(“web3”); const web3 = new Web3(new Web3.providers.HttpProvider(providerUrl)); const contract_web3 = new web3.eth.Contract(abi, contractAddress); console.log(“Config Data: \n”, providerUrl, “\n”, config.privateKey, “\n”, contractAddress);…