I want to deploy a smart contract on my local network. I executed a local node via
PRIVATE_CONFIG=ignore nohup geth --datadir ./Node1/new-
node-1
--nodiscover --verbosity 5 --networkid 31337 --raft --
raftport 51001 --rpc --rpcaddr 0.0.0.0 --rpcport 22101 --
rpcapi
admin,db,eth,debug,miner,net,shh,txpool,personal,web3,
quorum,raft --emitcheckpoints --port 21101 2>>node1.log &
I have to use localhost:\127.0.0.1:21101 or 22101? I want to know the difference betwwen the two ports and what are used for?
An other question if you don't mind: When i use the port 21101, it fails to connect and when I consult the node log I find :
Failed RLPx handshake addr=[::1]:42552 conn=inbound
err="read tcp [::1]:21102->[::1]:42552: i/o timeout"