# Unable to get registration for peer

**URL:** <https://forum.yugabyte.com/t/unable-to-get-registration-for-peer/1831>\
**Category:** General\
**Created:** [November 3, 2022, 10:18pm UTC](https://forum.yugabyte.com/t/unable-to-get-registration-for-peer/1831 "2022-11-03T22:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LouisJiang](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/louisjiang/32/580_2.png) [@LouisJiang](https://forum.yugabyte.com/u/LouisJiang)\
**Post date:** [November 3, 2022, 10:18pm UTC](https://forum.yugabyte.com/t/unable-to-get-registration-for-peer/1831/1 "2022-11-03T22:18:00Z")

</div>

Hi, I am new to yugabyte via class.

I installed yugabyte-2.15.3.0 and have 5 servers.  
The master web interface shows: Server 127.0.0.1:7101, Raft\_Role: Unknown, Details: |**ERROR: Network error (yb/util/net/socket.cc:540): Unable to get registration information for peer ([127.0.0.1:7101]) id (f632919f68b64d3dacff2e821bc071d6): recvmsg error: Connection refused (system error 111)**|

Here’s my configuration.  
start\_master.sh:

```auto
./bin/yb-master \
--fs_data_dirs "/mnt/ramdisk/cs4224c/disk,/mnt/ramdisk/cs4224c/disk2" \
--master_addresses xcnd5.comp.nus.edu.sg:7101,xcnd6.comp.nus.edu.sg:7101,xcnd7.comp.nus.edu.sg:7101,xcnd8.comp.nus.edu.sg:7101,xcnd50.comp.nus.edu.sg:7101 \
--rpc_bind_addresses xcnd5.comp.nus.edu:7101 \
--leader_failure_max_missed_heartbeat_periods 10 \
>& /temp/cs4224c/ygdb_master.log &

```

start\_tserver.sh:

```auto
--tserver_master_addrs xcnd5.comp.nus.edu.sg:7101,xcnd6.comp.nus.edu.sg:7101,xcnd7.comp.nus.edu.sg:7101,xcnd8.comp.nus.edu.sg:7101,xcnd50.comp.nus.edu.sg:7101 \
--rpc_bind_addresses xcnd5.comp.nus.edu.sg:9101 \
--enable_ysql \
--pgsql_proxy_bind_address xcnd5.comp.nus.edu.sg:5533 \
--cql_proxy_bind_address xcnd5.comp.nus.edu.sg:9142 \
--fs_data_dirs "/mnt/ramdisk/cs4224c/disk,/mnt/ramdisk/cs4224c/disk2" \
--redis_proxy_bind_address xcnd5.comp.nus.edu.sg:6479 \
--redis_proxy_webserver_port 11100 \
--leader_failure_max_missed_heartbeat_periods 10 \
>& /temp/cs4224c/ygdb_tserver.log &

```

There will be a sharing on these servers among several groups, so I have to change the ports.

I noted that there’s an error in the log:

```auto
W1103 21:55:18.672091 204262 master.cc:504] ListMasters: Network error (yb/util/net/socket.cc:540): Unable to get registration information for peer ([127.0.0.1:7101]) id (f632919f68b64d3dacff2e821bc071d6): recvmsg error: Connection refused (system error 111)

```

And I do not know that how could it happen? ☹

P.S. I have tried the default ports but still the same. The nodes cannot elect a leader…

---

<div class="post-metadata">

**Author:** ![LouisJiang](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/louisjiang/32/580_2.png) [@LouisJiang](https://forum.yugabyte.com/u/LouisJiang)\
**Post date:** [November 7, 2022, 5:42am UTC](https://forum.yugabyte.com/t/unable-to-get-registration-for-peer/1831/2 "2022-11-07T05:42:30Z")

</div>

Fixed. As we share the clusters with others and they do not offer us the write right of .yb.\<top\_hash\> file, the postgre server cannot work
