Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

127.0.0.1:8500: connect: connection refused #4

Open
kakaNo1 opened this issue Jan 8, 2021 · 3 comments
Open

127.0.0.1:8500: connect: connection refused #4

kakaNo1 opened this issue Jan 8, 2021 · 3 comments

Comments

@kakaNo1
Copy link

kakaNo1 commented Jan 8, 2021

图片

consul_server:
  # consul api 地址
  addr: localhost:8500
  username:
  password:
  # promethues中consul sd中pgw service name
  register_service_name: pushgateway
# 服务web addr
http_listen_addr: :9292
# pgw信息
pushgateway:
  port: 9091
  servers:
    - 10.0.28.239
    - 10.0.29.24
@ning1875
Copy link
Owner

ning1875 commented Jan 8, 2021

图片

consul_server:
  # consul api 地址
  addr: localhost:8500
  username:
  password:
  # promethues中consul sd中pgw service name
  register_service_name: pushgateway
# 服务web addr
http_listen_addr: :9292
# pgw信息
pushgateway:
  port: 9091
  servers:
    - 10.0.28.239
    - 10.0.29.24
  • consul server 部署了吗
  • 启动了没
  • 还是说consul有鉴权呀
  • 或者说consul listen addr指定了ip而没有127.0.0.1

@kakaNo1
Copy link
Author

kakaNo1 commented Jan 8, 2021

图片

I just forgot to launch Consul, I pushGateway is two, both are accessible on the server where Consul is located, but there is only one display, why

@ning1875
Copy link
Owner

ning1875 commented Jan 8, 2021

forgot to launch Consul, I pushGateway is two, both are accessible on the server where Consul is located, but there is only one display, why

大兄弟说中文吧 ,查查pushgaway是不是有可用,看看日志,是不是探活失败了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants