IP for relay node

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 or 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:

cardano-node: Network.Socket.bind: unsupported operation (Cannot assign requested address)

cat > $NODE_HOME/startBlockProducingNode.sh << EOF
/usr/local/bin/cardano-node run --topology ${TOPOLOGY} --database-path ${DB_PATH}
–socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}

ANy help welcome. Thanks.

Start ur node with

Then check if ur relay has the port 6000 opened to accept income connections! If not open the port in fw

To test if the port is open try from Producer:

telnet Relay_IP 6000

U should see connected

If yes, check the Producer topology file

1 Like

still desn’t work,

I checked connection with telnet and I have connection from relay to producer, but there is no connection from block producer to relay

I did use following on both instances.
ufw allow proto tcp from any to any port 6000


On producer, show me the topology file

PS: on producer u should accept connections only from relay on port 6000

sudo ufw allow proto tcp from Relay_IP to any port 6000

1 Like

“Producers”: [
“addr”: “<my_relay_ip>”,
“port”: 6000,
“valency”: 1
“addr”: “<my_relay_ip_2>”,
“port”: 6000,
“valency”: 1

ok, I found the problem. I forgot about google cloud firewall. Thanks for help.

1 Like