Make sure you do the following to get your execution client working properly.Use --config mainnet to sync the Ethereum mainnet.--config mainnet documentation
JSON RPC endpoint
Use --JsonRpc.Enabled true to connect your consensus node to the JSON RPC endpoint. This will enable the JSON RPC services on the default 8545 port.--JsonRpc.Enabled documentation