• [^] # Re: un début de réponse

    Posté par (site web personnel) . En réponse au message Docker, traefik et multi port. Évalué à 1.

    Non pas encore mais voici le résultat

    # netstat -tln
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State 
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 
    tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 
    tcp6 0 0 :::80 :::* LISTEN 
    tcp6 0 0 :::22 :::* LISTEN 
    
    # netstat -a
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State 
    tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN 
    tcp 0 0 0.0.0.0:mysql 0.0.0.0:* LISTEN 
    tcp6 0 0 [::]:http [::]:* LISTEN 
    tcp6 0 0 [::]:ssh [::]:* LISTEN 
    Active UNIX domain sockets (servers and established)
    Proto RefCnt Flags Type State I-Node Path
    unix 2 [ ACC ] STREAM LISTENING 178616126 /var/run/mysqld/mysqld.sock
    

    Il y a bien mysql en écoute

    # ss -l 
    Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port 
    nl UNCONN 0 0 rtnl:kernel * 
    nl UNCONN 0 0 rtnl:12933 * 
    nl UNCONN 4352 0 tcpdiag:ss/2763 * 
    nl UNCONN 768 0 tcpdiag:kernel * 
    nl UNCONN 0 0 xfrm:kernel * 
    nl UNCONN 0 0 fiblookup:kernel * 
    nl UNCONN 0 0 uevent:kernel * 
    nl UNCONN 0 0 genl:kernel * 
    u_str LISTEN 0 80 /var/run/mysqld/mysqld.sock 178616126 * 0 
    tcp LISTEN 0 128 *:ssh *:* 
    tcp LISTEN 0 80 *:mysql *:* 
    tcp LISTEN 0 128 :::http :::* 
    tcp LISTEN 0 128 :::ssh :::* 
    

    Born to Kill EndUser !