liwenzheng opened a new issue #4530:
URL: https://github.com/apache/apisix/issues/4530


   ### Issue description
   ``` 
   docker启动环境下,配置promethues,ip检测逻辑有问题,如非容器内ip则会报错。
   ```
   ### conf/config.yalm
   ```
   plugin_attr:
     prometheus:
       export_uri: /apisix/prometheus/metrics
       export_addr:
         ip:  172.20.225.102
         port: 9092
   ```
   ### docker-compose.yml
   ```
       networks:
         apisix:
   ```
   ### error
   ```
   nginx: [emerg] bind() to 172.20.225.102:9092 failed (99: Address not 
available)
   ```
   
    
   


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