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

bug: apisix reload报错:prometheus端口占用 #11894

Open
lianfulei opened this issue Jan 7, 2025 · 0 comments
Open

bug: apisix reload报错:prometheus端口占用 #11894

lianfulei opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@lianfulei
Copy link

Current Behavior

9094端口没有被占用,我这个完全确认的。

apisix prometheus配置如下
prometheus: # Plugin: prometheus
export_uri: /apisix/prometheus/metrics # Set the URI for the Prometheus metrics endpoint.
metric_prefix: apisix_ # Set the prefix for Prometheus metrics generated by APISIX.
enable_export_server: true # Enable the Prometheus export server.
export_addr: # Set the address for the Prometheus export server.
ip: 0.0.0.0 # Set the IP.
port: 9094 # Set the port.

reload后报错如下
2025/01/07 11:15:36 [notice] 16914#16914: signal process started
2025/01/07 11:15:36 [emerg] 16924#16924: bind() to 0.0.0.0:9094 failed (98: Address already in use)

Expected Behavior

按理说,不应该出现端口占用报错。

Error Logs

No response

Steps to Reproduce

Environment

系统:centos7.2.1511
apisix版本:3.11.0

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Apache APISIX backlog Jan 7, 2025
@dosubot dosubot bot added the bug Something isn't working label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant