lianfulei opened a new issue, #11894:
URL: https://github.com/apache/apisix/issues/11894

   ### 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to