Logstash on docker not listening to port

Hello, im running logstash with docker-compose and for some reason im unable to listen to port 9015 in one of the nodes.

    image: docker.elastic.co/logstash/logstash:7.12.0
    container_name: logstash-node03
    ports:
      - 5044:5044
      - 9010:9010
      - "9010:9010/udp"
      - 9011:9011
      - "9011:9011/udp"
      - 9015:9015
      - "9015:9015/udp"
    networks:
      - logstash-network
    volumes:
      - /opt/logstash/log03/config/:/usr/share/logstash/config/

if i check listening ports with netstat i get this result

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:60222         0.0.0.0:*               LISTEN      1090/sshd: admin
tcp        0      0 0.0.0.0:9191            0.0.0.0:*               LISTEN      628/python3
tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      2568/docker-proxy
tcp        0      0 0.0.0.0:9002            0.0.0.0:*               LISTEN      2525/docker-proxy
tcp        0      0 0.0.0.0:9010            0.0.0.0:*               LISTEN      2229/docker-proxy
tcp        0      0 0.0.0.0:9011            0.0.0.0:*               LISTEN      2181/docker-proxy
tcp        0      0 0.0.0.0:5044            0.0.0.0:*               LISTEN      2272/docker-proxy
tcp        0      0 0.0.0.0:9012            0.0.0.0:*               LISTEN      2159/docker-proxy
tcp        0      0 0.0.0.0:9013            0.0.0.0:*               LISTEN      2485/docker-proxy
tcp        0      0 0.0.0.0:20022           0.0.0.0:*               LISTEN      655/sshd
tcp6       0      0 ::1:60222               :::*                    LISTEN      1090/sshd: admin

The rest of the ports on that node or other nodes seem to work just fine

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.