hi there,
I’m using a following script to start my relay node which is on separate virtual instance. The problem which I have is an IP address. If I leave IP as it is 0.0.0.0 or 127.0.0.1 I can run the relay but my producer node can’t connect to it. I tried to use the public IP but then I’m reciving error:
Blockquote
cardano-node: Network.Socket.bind: unsupported operation (Cannot assign requested address)
cat > $NODE_HOME/startBlockProducingNode.sh << EOF
#!/bin/bash
DIRECTORY=NODE_HOME
PORT=6000
HOSTADDR=0.0.0.0
TOPOLOGY=\${DIRECTORY}/{NODE_CONFIG}-topology.json
DB_PATH=${DIRECTORY}/db
SOCKET_PATH=${DIRECTORY}/db/socket
CONFIG=${DIRECTORY}/${NODE_CONFIG}-config.json
/usr/local/bin/cardano-node run --topology ${TOPOLOGY} --database-path ${DB_PATH}
–socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}
EOF
ANy help welcome. Thanks.