# No inbound peers

**URL:** <https://forum.cardano.org/t/no-inbound-peers/46868>\
**Category:** Setup a Stake Pool\
**Created:** [8 February 2021 09:14 UTC](https://forum.cardano.org/t/no-inbound-peers/46868 "2021-02-08T09:14:42Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkatsikhs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/gkatsikhs/32/48002_2.png) [@gkatsikhs](https://forum.cardano.org/u/gkatsikhs)\
**Post date:** [8 February 2021 09:14 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/1 "2021-02-08T09:14:42Z")

</div>

Hello,

I just setup my first pool, and I don’t seems to have any connections inbound (my relay IP can be found on [https://explorer.mainnet.cardano.org/relays/topology.json](https://explorer.mainnet.cardano.org/relays/topology.json) )

 ![2021-02-08](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/0/9/097ff90029f894a6918a93c25b1f6f9441f2fb9c.png)

The relay port is open, and the BP is connected to the relay, so I’m not sure what exactly it is that I am doing wrong.

Perhaps someone could help?

Thanks

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 09:15 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/2 "2021-02-08T09:15:57Z")

</div>

Hello,

What is your ticker/

Cheers

---

<div class="post-metadata">

**Author:** ![gkatsikhs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/gkatsikhs/32/48002_2.png) [@gkatsikhs](https://forum.cardano.org/u/gkatsikhs)\
**Post date:** [8 February 2021 09:19 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/3 "2021-02-08T09:19:22Z")

</div>

Hello Alex,

My ticker is [BBFSH](https://pooltool.io/pool/5db8a93c814f29fa4dfc9f60038b1cfbaac345eb51366a8072a9e3e6/epochs)

Thanks

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 09:22 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/4 "2021-02-08T09:22:50Z")

</div>

TY, on your relay are u running topologyupdater script to announce your node into the network?  
If yes can u check the last message from topologyupdater log?  
also can you tell me your relay IP + port registered?

---

<div class="post-metadata">

**Author:** ![gkatsikhs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/gkatsikhs/32/48002_2.png) [@gkatsikhs](https://forum.cardano.org/u/gkatsikhs)\
**Post date:** [8 February 2021 09:26 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/5 "2021-02-08T09:26:51Z")

</div>

Thanks once again,

Yes I am running the topologyupdater script, last update was about 30 mins ago:

> { “resultcode”: “204”, “datetime”:“2021-02-08 08:58:01”, “clientIp”: “95.217.164.117”, “iptype”: 4, “msg”: “glad you’re staying with us” }

The port is 6000.

Thanks!

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 09:27 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/6 "2021-02-08T09:27:42Z")

</div>

> [@gkatsikhs](#):
>
> 95.217.164.117

ok, and how did u start the node, can u show me the script?

---

<div class="post-metadata">

**Author:** ![gkatsikhs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/gkatsikhs/32/48002_2.png) [@gkatsikhs](https://forum.cardano.org/u/gkatsikhs)\
**Post date:** [8 February 2021 09:31 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/7 "2021-02-08T09:31:00Z")

</div>

Here it is:

> #!/bin/bash  
> DIRECTORY=/home/XXXXXXXX/cardano-my-node  
> PORT=6000  
> HOSTADDR=0.0.0.0  
> TOPOLOGY=${DIRECTORY}/mainnet-topology.json  
> DB\_PATH=${DIRECTORY}/db  
> SOCKET\_PATH=${DIRECTORY}/db/socket  
> CONFIG=${DIRECTORY}/mainnet-config.json  
> cardano-node run --topology ${TOPOLOGY} --database-path ${DB\_PATH} --socket-path ${SOCKET\_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 09:46 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/8 "2021-02-08T09:46:27Z")

</div>

something wrong with your hash

[{“time”:“08.02.2021. 03:41:11”,“retryCount”:1,“poolHash”:“569ae22bbbc346efc0ca4293126a5660aa92606d43ff7d249fddff4123e83e8a”,“cause”:“Hash mismatch from poolId ‘5db8a93c814f29fa4dfc9f60038b1cfbaac345eb51366a8072a9e3e6’ when fetching metadata from ‘[https://git.io/Jtaxh](https://git.io/Jtaxh)’. Expected 569ae22bbbc346efc0ca4293126a5660aa92606d43ff7d249fddff4123e83e8a but got fdd334a4f99ce0e23ccce3032bd46e687a000563e6c8dbdcc5e2b5c3be1fb6ee.”,“poolId”:“5db8a93c814f29fa4dfc9f60038b1cfbaac345eb51366a8072a9e3e6”,“utcTime”:“1612755671.287468s”},

but I can’t see your metadata at that link provided… it’s saying err 404

‘[https://git.io/Jtaxh](https://git.io/Jtaxh)’

[https://raw.githubusercontent.com/gkatsikhs/ada/main/poolMetaData.json](https://raw.githubusercontent.com/gkatsikhs/ada/main/poolMetaData.json)  
404: Not Found

---

<div class="post-metadata">

**Author:** ![gkatsikhs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/gkatsikhs/32/48002_2.png) [@gkatsikhs](https://forum.cardano.org/u/gkatsikhs)\
**Post date:** [8 February 2021 09:51 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/9 "2021-02-08T09:51:51Z")

</div>

This was an erroneous metadata file at that link (some extra characters that I accidentally pasted), I have since resubmitted a transaction with the correct json file, which has been picked up pooltool:

> Metadata last checked: February 8th 2021, 6:48:38 am  
> URL: [https://jsonkeeper.com/b/BBPY](https://jsonkeeper.com/b/BBPY)  
> Hash: cd3ea8cc5d5a1f0ffd7a589536c6e91d9f627314a55f78c135d6a58bfe96d70c  
> metadata pool description: An EU-based pool  
> metadata pool homepage:  
> metadata pool name: Babelfish Pool

The new file is on [https://jsonkeeper.com/b/BBPY](https://jsonkeeper.com/b/BBPY), and the pool appears OK on Daedalus too (but not on [adapools](https://adapools.org/pool/5db8a93c814f29fa4dfc9f60038b1cfbaac345eb51366a8072a9e3e6), not sure why).  
Should I just wait in case info is updated?

Thanks once again 🙂

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 09:58 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/10 "2021-02-08T09:58:00Z")

</div>

yes but youshould see transactions…

add my relay 161.97.79.45:6003 at custom peers + topology file and restart the node I will add on mine node too. after that u should see transactions. I added ur Relay

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/5/1/519a6cdb94d197bb7a2d9de86ae0d611e9d4eecc.png)

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 10:45 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/11 "2021-02-08T10:45:44Z")

</div>

ok, and wait more days , your peer in connections should increase

---

<div class="post-metadata">

**Author:** ![gkatsikhs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/gkatsikhs/32/48002_2.png) [@gkatsikhs](https://forum.cardano.org/u/gkatsikhs)\
**Post date:** [8 February 2021 10:46 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/12 "2021-02-08T10:46:04Z")

</div>

Thanks Alex, sorry for the late reply but newborn baby \> stake pool 🙂  
I don’t know if this is what did the trick, but I’m seeing inbound connections now:  
 ![2021-02-08 (1)](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/5/6/56eeda5221736dd72252f1b57763748d57babd44.png)

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [8 February 2021 10:48 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/13 "2021-02-08T10:48:31Z")

</div>

great, in time you should see more… active nodes which already running needs to be restarterd by the operators in order to connect yours. and also you need to restart your node at least once/24 hours to refresh your topology… (If u seted as systemd I think there is already seted to restart at each 24 hours)

PS: congrats for the new member of fam!

and delete your last screenshot, your BP ip is visible 😛 stay safe

---

<div class="post-metadata">

**Author:** ![NirmalSingh](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/nirmalsingh/32/41161_2.png) [@NirmalSingh](https://forum.cardano.org/u/NirmalSingh)\
**Post date:** [24 September 2021 01:08 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/14 "2021-09-24T01:08:32Z")

</div>

Hi @Alexd1985 ,  
On Testnet, My Stake Pool (1 BP + 1 Relay) was working fine and even generated Blocks in last 2 Epoch. However now I am trying to add a second Relay to the mix but there seems some anomaly.

1. BP is showing both Relays in its outbound peers.  
│ 1 165.22.216.97:7070 1 Bengaluru, IN │  
│ 2 144.91.116.199:6000 264 Nuremberg, DE

2. BP is showing only First Relay in its inbound peers.  
1 165.22.216.97:32785 1 Bengaluru, IN

3. 2nd New Relay is showing 14 outbound peers (only 6 pasted here for sample).  
1 95.179.169.157:7700 17 Frankfurt am Main, DE │  
│ 2 78.47.76.177:6000 29 Nuremberg, DE │  
│ 3 45.83.233.6:6000 53 Amsterdam, NL │  
│ 4 75.119.159.134:6000 58 Düsseldorf, DE │  
│ 5 174.138.107.206:6000 60 Amsterdam, NL │  
│ 6 135.181.97.146:6000 65 Helsinki, FI

4. 2nd New Relay is showing 2 inbound peers, one of which is BP. 2nd inbound peer is undetermined and showing blank RTT value.

w.r.t. 2nd point above, just one Relay is not normal. It must show both the Relays there, correct ?  
w.r.t. 4th point above, there must be more than 2 inbound peers on the new Relay, correct ? (the First Rely shows so many inbound peers).

---

<div class="post-metadata">

**Author:** ![NirmalSingh](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/nirmalsingh/32/41161_2.png) [@NirmalSingh](https://forum.cardano.org/u/NirmalSingh)\
**Post date:** [24 September 2021 01:18 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/15 "2021-09-24T01:18:12Z")

</div>

topology.json on New Relay is looking good and reflecting the BP in below format :

{  
“addr”: “BP-IP”,  
“port”: BP-Port,  
“valency”: 1  
}

just tried to telnet from BP to Relays and vice versa

1. BP is successful in reaching both the Relays with specific Ports
2. Old Relay is successful in reaching the BP with specific Port
3. New Relay is failing in reaching the BP with specific Port
4. Old Relay is successful in reaching the New Relay with specific Port
5. New Relay is successful in reaching the Old Relay with specific Port

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [24 September 2021 04:51 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/16 "2021-09-24T04:51:02Z")

</div>

> [@NirmalSingh](#):
>
> New Relay is failing in reaching the BP with specific Port

Did u checked the ufw ? U must allow on BP the new Relay IP

---

<div class="post-metadata">

**Author:** ![NirmalSingh](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/nirmalsingh/32/41161_2.png) [@NirmalSingh](https://forum.cardano.org/u/NirmalSingh)\
**Post date:** [25 September 2021 12:34 UTC](https://forum.cardano.org/t/no-inbound-peers/46868/17 "2021-09-25T12:34:18Z")

</div>

> [@Alexd1985](#):
>
> new

Thanks Alex, it got solved. BP’s ufw firewall was in-fact missing the rule to allow inbound connection from New Relay’s IP to its port.
