Skip to content

IRCd via JSEXEC crashes when run in environment without IPv6

When running ircd via SBBSEXEC in an environment without IPv6 (such as default docker configurations), the script crashes.

!IRCd ERROR -9 calling getaddrinfo() on ::
!Error Error: Unable to add host to socket set creating listening socket on port 6667
!Module (/sbbs/exec/ircd.js) set exit_code: 1

I attempted to force a PLine entry (P:0.0.0.0:::6667), but still seeing the same error.

ASIDE: this also happens with SBBS executable as well, with default configuration, which is easy enough to change the sbbs.ini for.