# I don't have any IN peers and I'm not sure is my BP works properly

**URL:** <https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693>\
**Category:** Setup a Stake Pool\
**Created:** [28 January 2021 16:17 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693 "2021-01-28T16:17:33Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominik\_Gubrynowicz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/dominik_gubrynowicz/32/24984_2.png) [@Dominik\_Gubrynowicz](https://forum.cardano.org/u/Dominik_Gubrynowicz)\
**Post date:** [28 January 2021 16:17 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/1 "2021-01-28T16:17:33Z")

</div>

Hi!  
I have just started my own stacking pool but when I’m looking at gLiveView dashboard I’m not sure is everything working.

On my block producer, I don’t have any IN peers and mempool tx/bytes is 0/0.  
On the relay node, I have some out peers (28) but I don’t have any IN peers.

Does that mean that everything works properly or not? I will very much appreciate any answears.

 ![Zrzut ekranu 2021-01-28 o 17.10.40](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/7/b/7b174a74c099b6e687ee8ab23eff5026b0af8ec8.jpeg)  
 ![Zrzut ekranu 2021-01-28 o 17.10.53](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/0/a/0a9ce052e21c89da02dd56f8832eb4bcfe6c5207.jpeg)

---

<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:** [28 January 2021 17:48 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/2 "2021-01-28T17:48:18Z")

</div>

Hello,

Check your relay port, if it seted to accept incoming connections

Also on your relay u should run the topology updater script and add your bp IP + port inside topology updater script… to “custom peer” field

Cheers,

---

<div class="post-metadata">

**Author:** ![Dominik\_Gubrynowicz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/dominik_gubrynowicz/32/24984_2.png) [@Dominik\_Gubrynowicz](https://forum.cardano.org/u/Dominik_Gubrynowicz)\
**Post date:** [28 January 2021 18:17 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/3 "2021-01-28T18:17:30Z")

</div>

Thanks for your answer,  
my relay port is open (77.55.210.194:3001) but on the dashboard, I don’t have any incoming connections. On my BP now I have 1 in and 1 out peer (I ran updater-script with the wrong port 🤦🏻). It looks like BP is establishing a successful connection with the relay but the relay doesn’t realize that. The weirdest thing is that in a peer view I see IP that belongs to BP but on the very strange port and in unreachable category.

---

<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:** [28 January 2021 18:24 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/4 "2021-01-28T18:24:00Z")

</div>

Can u put screenshots?  
Hide Producer’s IP

Btw, u should not use topology updater script on BP, only on Relay

And also on your relay keep connections (out) around 20 ; this is the recommendation.

Cheers,

---

<div class="post-metadata">

**Author:** ![Dominik\_Gubrynowicz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/dominik_gubrynowicz/32/24984_2.png) [@Dominik\_Gubrynowicz](https://forum.cardano.org/u/Dominik_Gubrynowicz)\
**Post date:** [28 January 2021 18:32 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/5 "2021-01-28T18:32:22Z")

</div>

Thanks for your tips,  
I ran topology updater on relay of course c:

 ![Zrzut ekranu 2021-01-28 o 19.26.17](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/7/f/7f05c224659f143f6d52d8f18f18968080f9ac0c.jpeg) ![Zrzut ekranu 2021-01-28 o 19.26.26](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/f/c/fce403fa5f6bbaae6b592880f8aa072df951f46e.jpeg) ![Zrzut ekranu 2021-01-28 o 19.26.44](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/5/c/5ce96afc7664eca043241a119f72ba5f022209fb.jpeg) ![Zrzut ekranu 2021-01-28 o 19.26.48](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/8/6/868dc587fda971ebda6475df4ca6cd4a0b3b73a2.jpeg)

---

<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:** [28 January 2021 18:37 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/6 "2021-01-28T18:37:12Z")

</div>

> [@Dominik\_Gubrynowicz](#):
>
> 77.55.210.194

Strange, because u have tx incremented which is a good status; if u start ur node with correct port and if ur IP’s were edited correct, try to restart your relay

---

<div class="post-metadata">

**Author:** ![Dominik\_Gubrynowicz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/dominik_gubrynowicz/32/24984_2.png) [@Dominik\_Gubrynowicz](https://forum.cardano.org/u/Dominik_Gubrynowicz)\
**Post date:** [28 January 2021 19:32 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/7 "2021-01-28T19:32:49Z")

</div>

When i restarted node with updated startup script (relay address instead 0.0.0.0 ) everything stopped.

---

<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:** [28 January 2021 19:37 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/8 "2021-01-28T19:37:16Z")

</div>

Yes, use 0.0.0.0

---

<div class="post-metadata">

**Author:** ![tsipou](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tsipou/32/25184_2.png) [@tsipou](https://forum.cardano.org/u/tsipou)\
**Post date:** [28 January 2021 20:19 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/9 "2021-01-28T20:19:47Z")

</div>

i think you block outgoing traffic…  
on BP = you block from your bp to Relay.  
on Relay = you block from relay to BP+internet IPs(to any)

---

<div class="post-metadata">

**Author:** ![Dominik\_Gubrynowicz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/dominik_gubrynowicz/32/24984_2.png) [@Dominik\_Gubrynowicz](https://forum.cardano.org/u/Dominik_Gubrynowicz)\
**Post date:** [28 January 2021 21:45 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/10 "2021-01-28T21:45:05Z")

</div>

How i can block, outgoing traffic? On ufw i have allow rule for used ports and my VPS provider doesn’t block anything. Is there any other way to block outgoing traffic?

---

<div class="post-metadata">

**Author:** ![tsipou](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tsipou/32/25184_2.png) [@tsipou](https://forum.cardano.org/u/tsipou)\
**Post date:** [28 January 2021 21:51 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/11 "2021-01-28T21:51:17Z")

</div>

there is cases, where we have firewall on node, like ufw, and also the VPS provider provides you firewall.  
you just check it if is enable and if all outgoing traffic is not blocked.  
then you allow incoming traffic to specific ports based on your setting.

and you should be fine

---

<div class="post-metadata">

**Author:** ![tsipou](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tsipou/32/25184_2.png) [@tsipou](https://forum.cardano.org/u/tsipou)\
**Post date:** [28 January 2021 21:53 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/12 "2021-01-28T21:53:11Z")

</div>

but if i may ask, why do we see a Public IP on your BP as a peer?  
is the relay not running on the same LAN with the BP?

also on relay we see the BP is connecting on 42581, is that the correct port you have prepared on BP ?

---

<div class="post-metadata">

**Author:** ![tsipou](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tsipou/32/25184_2.png) [@tsipou](https://forum.cardano.org/u/tsipou)\
**Post date:** [28 January 2021 22:03 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/13 "2021-01-28T22:03:07Z")

</div>

please on BP

1. check "nano topology.json, if you have the port to relay
2. if you use cntools, on env file the “CNODE\_PORT=” is the port from your BP.
3. on cnode.sh if there is parameter with --host-addr = 0.0.0.0 \ and --port ${CNODE\_PORT}

restart nodes, and check again the port of BP on Relay

---

<div class="post-metadata">

**Author:** ![Dominik\_Gubrynowicz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/dominik_gubrynowicz/32/24984_2.png) [@Dominik\_Gubrynowicz](https://forum.cardano.org/u/Dominik_Gubrynowicz)\
**Post date:** [29 January 2021 09:23 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/14 "2021-01-29T09:23:08Z")

</div>

> [@tsipou](#):
>
> you just check it if is enable and if all outgoing traffic is not blocked.  
> then you allow incoming traffic to specific ports based on your setting.

I checked - everything should be fine.

> [@tsipou](#):
>
> but if i may ask, why do we see a Public IP on your BP as a peer?  
> is the relay not running on the same LAN with the BP?

relay is not running on the same IP - my provider doens’t offer this option

I checked again ports and everything looks correct.

---

<div class="post-metadata">

**Author:** ![tsipou](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tsipou/32/25184_2.png) [@tsipou](https://forum.cardano.org/u/tsipou)\
**Post date:** [29 January 2021 09:49 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/15 "2021-01-29T09:49:05Z")

</div>

core has TXs and peer with Relay.  
looks fine.

the relay needs comuniction outside.  
can you send one more screenshot for the current status?

TTS

---

<div class="post-metadata">

**Author:** ![Dominik\_Gubrynowicz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/dominik_gubrynowicz/32/24984_2.png) [@Dominik\_Gubrynowicz](https://forum.cardano.org/u/Dominik_Gubrynowicz)\
**Post date:** [31 January 2021 12:27 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/16 "2021-01-31T12:27:28Z")

</div>

Screen:

 ![Cardano-node](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/c/8/c8abb8ed960936b0434cac4296b7d1f4304f6a84.jpeg)

---

<div class="post-metadata">

**Author:** ![bodz1lla](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/bodz1lla/32/28686_2.png) [@bodz1lla](https://forum.cardano.org/u/bodz1lla)\
**Post date:** [17 March 2021 11:27 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/17 "2021-03-17T11:27:01Z")

</div>

Hi Cardano Gurus,

I’m running my stake pool and facing the same issue.  
My relay node has only OUT peers, but it doesn’t have any IN peers.

The ufw firewall has a default allow rule for outgoing connection and I’ve tried to disable firewall too.

```auto
ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), allow (routed)
New profiles: skip

To Action From
-- ------ ----
22/tcp ALLOW IN Anywhere
3001 ALLOW IN Anywhere

```

Both relay and BP nodes are running internally, the port forwarding :3001 to relay node configured on the router for incoming connections.

The relay node has outbound tcp connections.

```auto
# netstat -nputw | head -n 5
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 10.0.2.232:44813 206.189.15.96:6000 ESTABLISHED 2620529/cardano-nod
tcp 0 0 10.0.2.232:3001 10.0.2.1:52543 ESTABLISHED 2620529/cardano-nod
tcp 0 0 10.0.2.232:41027 212.24.109.18:6000 ESTABLISHED 2620529/cardano-nod

```

Screenshot:

 ![Screenshot 2021-03-17 at 12.13.20](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/4/3/439cc6f2509d8ee9d3f83b4ca611a65e0a0ba3c0.png)  
 ![Screenshot 2021-03-17 at 12.28.26](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/a/d/add5679211f26aeaeb63d5c7ac99b341f3431974.png)

Any ideas are appreciated!

Thank you,  
Bogdan

---

<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:** [17 March 2021 11:55 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/18 "2021-03-17T11:55:36Z")

</div>

Hello,

There is a problem with ur relay

Try from producer

telnet Relay\_IP 3000  
an also why u have on relay 61 peers out?

Limit to max 20 peers

Cheers,

---

<div class="post-metadata">

**Author:** ![bodz1lla](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/bodz1lla/32/28686_2.png) [@bodz1lla](https://forum.cardano.org/u/bodz1lla)\
**Post date:** [17 March 2021 13:37 UTC](https://forum.cardano.org/t/i-dont-have-any-in-peers-and-im-not-sure-is-my-bp-works-properly/45693/19 "2021-03-17T13:37:18Z")

</div>

Hi Alexandru,

The relay is reachable from producer.

```auto
# nc -vw3 172.16.0.1 3001
Connection to 172.16.0.1 3001 port [tcp/*] succeeded!

```

However, I had a wrong node port defined in `env` file on my relay.  
Instead of `:3000`, the relay port should be `:3001`.

The issue has been solved by modifying the port.

Screenshot:  
 ![Screenshot 2021-03-17 at 14.24.07](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/e/a/eaac31d6a97494b417bbdceff95a075bb10d6969.png)

Many thanks for your prompt support 👏

Greetings,  
Bogdan
