Skip to content

external-browser: Instantiate AF_INET6 and Legacy IP sockets for loopback

Handle situations where loopback cannot be binded to AF_INET6.

  • The kernel can be configured to disable the IPv6 stack.
    • ipv6.disable=1 is set in the kernel commandline.
    • Before change, the error Failed to listen on local port 29786: Address family not supported by protocol is seen.
  • The system is configured to disable assigning IPv6 addresses.
    • sysctl configuration net.ipv6.conf.<ifname>.disable_ipv6 is set to 1.
    • Before change, the error Failed to listen on local port 29786: Cannot assign requested address is seen.
Edited by Rahul Rameshbabu

Merge request reports