geth --datadir ./accnt1 --port 30306 --networkid 2018 --rpc --rpcport 8545 --rpccorsdomain=”*” --nodiscover --rpcapi “db,personal,eth,net,web3,debug” --rpcaddr="127.0.0.1" --rpcport 8545 console
using the above command to start the console , to connect remix to private blockchain .Even Tried localhost for rpcaddr . Also used http version of remix. Still getting below error .
Not possible to connect to the Web3 provider. Make sure the provider is running and a connection is open (via IPC or RPC).
the capital words in the below command means that you need to specify as required.
geth --datadir="DIRECTORY OF THE GENESIS BLOCK" --rpc --rpcport PORTNUMBER --rpccorsdomain "URL OF THE WEBSITE"
sample : geth --datadir="." --rpc --rpcport 8545 --rpccorsdomain="*" --rpcapi="miner,web3,debug,net,eth" console 2>>logger.log