emqx-4.0.2--ipv6环境的8083和8084起不来

Failed to start mqtt:ws listener on ::1:8083 - {{shutdown,^M
                                                 {failed_to_start_child,^M
                                                  ranch_acceptors_sup,badarg}},^M
                                                {child,undefined,^M
                                                 {ranch_listener_sup,^M
                                                  'mqtt:ws:8083'},^M
                                                 {ranch_listener_sup,^M
                                                  start_link,^M
                                                  ['mqtt:ws:8083',ranch_tcp,^M
                                                   #{connection_type =>^M
                                                      supervisor,^M
                                                     max_connections => 102400,^M
                                                     num_acceptors => 4,^M
                                                     socket_opts =>^M
                                                      [{ip,"::1"},^M
                                                       {port,8083},^M
                                                       {backlog,1024},^M
                                                       {send_timeout,15000},^M
                                                       {send_timeout_close,^M
                                                        true},^M
                                                       {nodelay,true}]},^M
                                                   cowboy_clear,^M
                                                   #{connection_type =>^M
                                                      supervisor,^M
                                                     env =>^M
                                                      #{dispatch =>^M
                                                         [{'_',[],^M
                                                           [{[<<"mqtt">>],^M
                                                             [],^M
                                                             emqx_ws_connection,^M
                                                             [{deflate_options,^M
                                                               []},^M
                                                              {tcp_options,^M
                                                               [{backlog,1024},^M
                                                                {send_timeout,^M
                                                                 15000},^M
                                                                {send_timeout_close,^M
                                                                 true},^M
                                                                {nodelay,^M
                                                                 true}]},^M
                                                              {acceptors,4},^M
                                                              {mqtt_path,^M
                                                               "/mqtt"},^M
                                                              {max_connections,^M
                                                               102400},^M
                                                              {max_conn_rate,^M
                                                               1000},^M
                                                              {active_n,100},^M
                                                              {zone,external},^M
                                                              {verify_protocol_header,^M
                                                               true},^M
                                                              {access_rules,^M
                                                               [{allow,^M
                                                                 all}]}]}]}]},^M
                                                     proxy_header => false}]},^M
                                                 permanent,infinity,^M
                                                 supervisor,^M
                                                 [ranch_listener_sup]}}^M

配置端口的地方 你配置完整IP 或者把IP给去掉。 备注:4.0.2已经退市不再维护了

对于8083端口
1、不配置IP,启动emqx后默认还是ipv4的地址,样式0.0.0.0:8083
2、配置完整的Ip地址,还是报错,报错信息和上面展示几乎一致