Taking the stakepool course stuck with initial node run command

hi i hope i am in the right place. the link from stakepool course directed me here.
i run a VM Ubuntu as in the course. i got the node compiled
and now want to run it the first time following the course instructions.

this is what my terminal gives me
alex@relay:~/relay$ cardano-node run \

–topology testnet-topology.json
–database-path db
–socket-path db/node.socket
–host-addr 5.146.194.217
–port 3001
–config testnet-config.json
Listening on http://127.0.0.1:12798
[relay:cardano.node.networkMagic:Notice:5] [2021-03-09 15:45:23.31 UTC] NetworkMagic 1097911063
[relay:cardano.node.basicInfo.protocol:Notice:5] [2021-03-09 15:45:23.31 UTC] Byron; Shelley
[relay:cardano.node.basicInfo.version:Notice:5] [2021-03-09 15:45:23.31 UTC] 1.25.0
[relay:cardano.node.basicInfo.commit:Notice:5] [2021-03-09 15:45:23.31 UTC] c985cc4afacdf5e1d1e66d6d968c898bf175de3e
[relay:cardano.node.basicInfo.nodeStartTime:Notice:5] [2021-03-09 15:45:23.31 UTC] 2021-03-09 15:45:23.318887166 UTC
[relay:cardano.node.basicInfo.systemStartTime:Notice:5] [2021-03-09 15:45:23.31 UTC] 2019-07-24 20:20:16 UTC
[relay:cardano.node.basicInfo.slotLengthByron:Notice:5] [2021-03-09 15:45:23.31 UTC] 20s
[relay:cardano.node.basicInfo.epochLengthByron:Notice:5] [2021-03-09 15:45:23.31 UTC] 21600
[relay:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2021-03-09 15:45:23.31 UTC] 1s
[relay:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2021-03-09 15:45:23.31 UTC] 432000
[relay:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2021-03-09 15:45:23.31 UTC] 129600
[relay:cardano.node.basicInfo.slotLengthAllegra:Notice:5] [2021-03-09 15:45:23.31 UTC] 1s
[relay:cardano.node.basicInfo.epochLengthAllegra:Notice:5] [2021-03-09 15:45:23.31 UTC] 432000
[relay:cardano.node.basicInfo.slotsPerKESPeriodAllegra:Notice:5] [2021-03-09 15:45:23.31 UTC] 129600
[relay:cardano.node.basicInfo.slotLengthMary:Notice:5] [2021-03-09 15:45:23.31 UTC] 1s
[relay:cardano.node.basicInfo.epochLengthMary:Notice:5] [2021-03-09 15:45:23.31 UTC] 432000
[relay:cardano.node.basicInfo.slotsPerKESPeriodMary:Notice:5] [2021-03-09 15:45:23.31 UTC] 129600
[relay:cardano.node.addresses:Notice:5] [2021-03-09 15:45:23.31 UTC] [SocketInfo 5.146.194.217:3001]
[relay:cardano.node.diffusion-mode:Notice:5] [2021-03-09 15:45:23.31 UTC] InitiatorAndResponderDiffusionMode
[relay:cardano.node.dns-producers:Notice:5] [2021-03-09 15:45:23.31 UTC] [DnsSubscriptionTarget {dstDomain = “relays-new.cardano-testnet.iohkdev.io”, dstPort = 3001, dstValency = 2}]
[relay:cardano.node.ip-producers:Notice:5] [2021-03-09 15:45:23.31 UTC] IPSubscriptionTarget {ispIps = , ispValency = 0}
[relay:cardano.node.ChainDB:Info:5] [2021-03-09 15:45:23.33 UTC] Opened imm db with immutable tip at genesis (origin) and chunk 0
[relay:cardano.node.ChainDB:Info:5] [2021-03-09 15:45:23.33 UTC] Opened vol db
[relay:cardano.node.ChainDB:Info:5] [2021-03-09 15:45:23.33 UTC] Replaying ledger from genesis
[relay:cardano.node.ChainDB:Info:5] [2021-03-09 15:45:23.34 UTC] Opened lgr db
[relay:cardano.node.ChainDB:Info:5] [2021-03-09 15:45:23.34 UTC] Opened db with immutable tip at genesis (origin) and tip 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0
[relay:cardano.node.ChainDB:Info:5] [2021-03-09 15:45:23.34 UTC] Closed db with immutable tip at genesis (origin) and tip 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0

Shutting down…

any advice?

first of all replace this IP with 0.0.0.0
–host-addr 5.146.194.217

1 Like

also make sure you have port 3001 open on your firewall settings

hi thanks that works. could you just give me a short explanation why? in the course its specificly asked to set your puplic ip. or is this for AWS only and not for VM UBuntu?

1 Like

you will provide your server ip addresses in the topology files so your VWs can connect to each other, it isn’t needed for the node connection itself.