shrpx got " Listening IPv4 socket failed" error when act as a proxy server(-s)
kalagxw opened this issue · 0 comments
kalagxw commented
shrpx -s -b localhost,3128 -f mydomain,443 xxxxxxxxx
got "Listening IPv4 socket failed" erroe
shrpx -s -b localhost,3128 -f 0.0.0.0,443 xxxxxxxxx
shrpx run but proxy can not pass
log says
[INFO] Resolving backend address
(shrpx.cc:1191)
[INFO] Address resolution for 127.0.0.1 succeeded: 127.0.0.1
(shrpx.cc:109)
[INFO] Unable to get IPv6 address for 0.0.0.0: Address family for hostname not supported
(shrpx.cc:152)
[INFO] Listening on 0.0.0.0, port 443
(shrpx.cc:190)
[INFO] Entering event loop
(shrpx.cc:307)
[INFO] [LISTEN:0x80bc3c0] Accepted connection. fd=7
(shrpx_listen_handler.cc:101)
[INFO] [CLIENT_HANDLER:0x80be7b8] Network error: Success
(shrpx_client_handler.cc:89)
[INFO] [CLIENT_HANDLER:0x80be7b8] Deleting
(shrpx_client_handler.cc:173)
[INFO] [CLIENT_HANDLER:0x80be7b8] Deleted
(shrpx_client_handler.cc:202)
[INFO] [LISTEN:0x80bc3c0] Accepted connection. fd=7
(shrpx_listen_handler.cc:101)
[INFO] [CLIENT_HANDLER:0x80be820] Network error: Success
(shrpx_client_handler.cc:89)
[INFO] [CLIENT_HANDLER:0x80be820] Deleting
(shrpx_client_handler.cc:173)
[INFO] [CLIENT_HANDLER:0x80be820] Deleted
(shrpx_client_handler.cc:202)