I am new to blockchain and was trying to create two nodes with one bootnode.
bootnode is successfully created
bootnode:
command used in bootnode
bootnode -nodekey ./boot.key -verbosity 7 -addr 127.0.0.1:30301
node1 is also running
command used in node 1
geth --networkid 14333 --datadir ./data --bootnodes enode://[email protected]:0?discport=30301 --port 30303 --ipcdisable --syncmode 'full' --http --allow-insecure-unlock --http.corsdomain “*” --http.port 8546 --unlock '0xxxxx' --password password.txt --mine console
node2
command used for node 2
geth --networkid 14333 --datadir ./data --bootnodes enode://[email protected]:0?discport=30301 --port 30304 --ipcdisable --syncmode 'full' --http --allow-insecure-unlock --http.corsdomain “*” --http.port 8547 --unlock 'xxxxx' --password password.txt --mine console
is showing the following error
Fatal: Error starting protocol stack: listen tcp 127.0.0.1:8551: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Kindly provide a solution to address this issue. Thanks in advance