How can get more connected peers?


#1

I get a very small number from 0 to 15 on n_peers when i visit host:26657/net_info

{
“jsonrpc”: “2.0”,
“id”: “”,
“result”: {
“listening”: true,
“listeners”: [
“Listener(@47.254.216.102:26656)”
],
“n_peers”: “6”,
“peers”: [
XXXXXXXX
]
}
}

the value of n_peers is changed very often. so I guess the connection is closed soon after established.

I tried many cloud server in different country and I had the same problem.

Can anyone tell me how to optimize?

this is my config file:

laddr = “tcp://172.20.113.226:26656”
external_address = “47.254.29.36:26656”