thanks a lot for this! By running my test with
./gradlew -i
, I got the exact node command that's executed, so I could run it myself, but with adding
NODE_DEBUG=cluster,net,http,fs,tls,module,timers
and the issue became immediately clear.
For some reason
localhost
can't be resolved 🤔 . Using
127.0.0.1
instead resolved my issue.