ipv6

Domanda: Come fare in modo che i client possano accedere sia tramite indirizzo ipv4 che ipv6?

Risposta: Durante l'inizializzazione del container, è sufficiente scrivere l'indirizzo come [::].

Ad esempio

$worker = new Worker('http://[::]:8080');
$gateway = new Gateway('websocket://[::]:8081');