I'm hosting a Django website on an Apache virtual machine and wanted to connect it Ethereum. Currently, the page I'm working on is hosted at
Since I wanted to run a node at that address so I could connect the two, I ran this to start geth
geth --genesis customGenesis.json --rpc --rpcaddr "18.104.22.168" --rpcport "9002" --datadir testchain --nodiscover --networkid 1234 console
However, this isn't working and I'm getting the following error
Fatal: Error starting RPC: listen tcp 22.214.171.124:9002: bind: address already in use
Everything else seems to be working but the code is this
I'm new at this so it could be something related to rpc but I couldn't figure it out from what I read.