Check PD configuration, error reported: config placement-rules show --group=pd --id=default, network is normal

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 查看pd配置,报错config placement-rules show --group=pd --id=default 网络都正常

| username: 最强王者

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[tidb@izuf61pnpw4ir671znmbcrz ~]$ tiup ctl:v5.2.4 pd config placement-rules show --group=pd --id=default
Starting component ctl: /home/tidb/.tiup/components/ctl/v5.2.4/ctl pd config placement-rules show --group=pd --id=default
Get “http://127.0.0.1:2379/pd/api/v1/config/rule/pd/default”: dial tcp 127.0.0.1:2379: connect: connection refused
The plugin has been downloaded

| username: 芮芮是产品 | Original post link

I admire you, truly admire you.

| username: ShawnYan | Original post link

Check the network monitoring, is PD local?

| username: 最强王者 | Original post link

Thank you. Negotiating a fixed IP can solve the problem. Thanks.

| username: 最强王者 | Original post link

Take your time to learn and grow. Keep it up!

| username: Fly-bird | Original post link

:grinning: :grinning: :grinning:

| username: Kongdom | Original post link

So the reason is the configuration of 127.0.0.1 in the configuration file?

| username: 最强王者 | Original post link

No, it was a configuration error at that time. It was resolved after adding the IP.

| username: Jellybean | Original post link

It seems that the address of PD was missed. Please confirm the IP and port of the cluster PD.

| username: Kongdom | Original post link

:ok_hand: :ok_hand: :ok_hand:

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.