First time starting a node, DiffusionErrored

Hi and sorry to bother you but I have got a bit stuck and hope you can give me some pointers.

I have been following along the documents to start a node and everything has gone well so far but starting the node I get an error I can not overcome.

As you can see I get the error
DiffusionErrored Network.Socket.bind: unsupported operation (Cannot assign requested address)

For the topology file, I just went to https://explorer.mainnet.cardano.org/relays/topology.json to find some active producer nodes

{
  "Producers": [
    {
      "addr": "relay1-pub.ahlnet.nu",
      "port": 2111,
      "valency": 2
    }
  ]
}

For the start command i have:

cardano-node run
–topology testnet-topology.json
–database-path db
–socket-path db/node.socket
–host-addr 34.248.22.26
–port 3001
–config testnet-config.json

All ports are open.

I have not updated the testnet-config.json, testnet-shelley-genesis.json or testnet-byron-genesis.json from the ones provided.

This is the full stack trace.

Thanks

[ip-172-3:cardano.node.networkMagic:Notice:5] [2021-05-31 17:23:37.75 UTC] NetworkMagic 1097911063
[ip-172-3:cardano.node.basicInfo.protocol:Notice:5] [2021-05-31 17:23:37.75 UTC] Byron; Shelley
[ip-172-3:cardano.node.basicInfo.version:Notice:5] [2021-05-31 17:23:37.75 UTC] 1.25.1
[ip-172-3:cardano.node.basicInfo.commit:Notice:5] [2021-05-31 17:23:37.75 UTC] 9a7331cce5e8bc0ea9c6bfa1c28773f4c5a7000f
[ip-172-3:cardano.node.basicInfo.nodeStartTime:Notice:5] [2021-05-31 17:23:37.75 UTC] 2021-05-31 17:23:37.752913806 UTC
[ip-172-3:cardano.node.basicInfo.systemStartTime:Notice:5] [2021-05-31 17:23:37.75 UTC] 2019-07-24 20:20:16 UTC
[ip-172-3:cardano.node.basicInfo.slotLengthByron:Notice:5] [2021-05-31 17:23:37.75 UTC] 20s
[ip-172-3:cardano.node.basicInfo.epochLengthByron:Notice:5] [2021-05-31 17:23:37.75 UTC] 21600
[ip-172-3:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2021-05-31 17:23:37.75 UTC] 1s
[ip-172-3:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2021-05-31 17:23:37.75 UTC] 432000
[ip-172-3:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2021-05-31 17:23:37.75 UTC] 129600
[ip-172-3:cardano.node.basicInfo.slotLengthAllegra:Notice:5] [2021-05-31 17:23:37.75 UTC] 1s
[ip-172-3:cardano.node.basicInfo.epochLengthAllegra:Notice:5] [2021-05-31 17:23:37.75 UTC] 432000
[ip-172-3:cardano.node.basicInfo.slotsPerKESPeriodAllegra:Notice:5] [2021-05-31 17:23:37.75 UTC] 129600
[ip-172-3:cardano.node.basicInfo.slotLengthMary:Notice:5] [2021-05-31 17:23:37.75 UTC] 1s
[ip-172-3:cardano.node.basicInfo.epochLengthMary:Notice:5] [2021-05-31 17:23:37.75 UTC] 432000
[ip-172-3:cardano.node.basicInfo.slotsPerKESPeriodMary:Notice:5] [2021-05-31 17:23:37.75 UTC] 129600
[ip-172-3:cardano.node.addresses:Notice:5] [2021-05-31 17:23:37.76 UTC] [SocketInfo 34.248.22.26:3001]
[ip-172-3:cardano.node.diffusion-mode:Notice:5] [2021-05-31 17:23:37.76 UTC] InitiatorAndResponderDiffusionMode
[ip-172-3:cardano.node.dns-producers:Notice:5] [2021-05-31 17:23:37.76 UTC] []
[ip-172-3:cardano.node.ip-producers:Notice:5] [2021-05-31 17:23:37.76 UTC] IPSubscriptionTarget {ispIps = [], ispValency = 0}
[ip-172-3:cardano.node.ChainDB:Info:5] [2021-05-31 17:23:37.76 UTC] Opened imm db with immutable tip at genesis (origin) and chunk 0
[ip-172-3:cardano.node.ChainDB:Info:5] [2021-05-31 17:23:37.76 UTC] Opened vol db
[ip-172-3:cardano.node.ChainDB:Info:5] [2021-05-31 17:23:37.76 UTC] Replaying ledger from genesis
[ip-172-3:cardano.node.ChainDB:Info:5] [2021-05-31 17:23:37.77 UTC] Opened lgr db
[ip-172-3:cardano.node.ChainDB:Info:5] [2021-05-31 17:23:37.77 UTC] Opened db with immutable tip at genesis (origin) and tip 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:48] [2021-05-31 17:23:37.77 UTC] CreateSystemdSocketForSnocketPath "db/node.socket"
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:48] [2021-05-31 17:23:37.77 UTC] CreatedLocalSocket "db/node.socket"
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:50] [2021-05-31 17:23:37.77 UTC] CreatingServerSocket 34.248.22.26:3001
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:50] [2021-05-31 17:23:37.77 UTC] ConfiguringServerSocket 34.248.22.26:3001
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:48] [2021-05-31 17:23:37.77 UTC] ConfiguringLocalSocket "db/node.socket" (FileDescriptor 23)
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:48] [2021-05-31 17:23:37.77 UTC] ListeningLocalSocket "db/node.socket" (FileDescriptor 23)
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:48] [2021-05-31 17:23:37.77 UTC] LocalSocketUp "db/node.socket" (FileDescriptor 23)
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:48] [2021-05-31 17:23:37.77 UTC] RunLocalServer (LocalAddress "db/node.socket")
[ip-172-3:cardano.node.DiffusionInitializationTracer:Info:5] [2021-05-31 17:23:37.77 UTC] DiffusionErrored Network.Socket.bind: unsupported operation (Cannot assign requested address)
[ip-172-3:cardano.node.ChainDB:Info:5] [2021-05-31 17:23:37.77 UTC] Closed db with immutable tip at genesis (origin) and tip 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0

Shutting down..

Start the node with host-addr 0.0.0.0

2 Likes

Thank you, that did the trick.