Skip to content

Address already in use after change listen address #34

@R-omk

Description

@R-omk
roles.metrics-export:
  http:
  - listen: '127.0.0.1:8080' # change to '0.0.0.0:8080' and apply   `require('config'):reload()`
    endpoints:
    - path: /metrics/prometheus
      format: prometheus
    - path: /metrics/json
      format: json   

result :

---
- error: 'Error applying role roles.metrics-export: /opt/tarantool/.rocks/share/tarantool/http/server.lua:1363:
    Can''t create tcp_server: Address already in use'
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions