The fcl server cannot connect to mongodb database on node version 18. Node changed from v16 to v17 the ipBinding preference from ipv4 to ipv6. But the mongodb on default only listens to ipv4 localhost addresses.
Possible solutions:
configure mongodb to listen also on ipv6 localhost addresses:
starting the mongod instance with command line option --ipv6
configure node to prefer ipv4 addresses over ipv6 addresses:
start the web app server with the node command line option --dns-result-order=ipv4first
The fcl server cannot connect to mongodb database on node version 18. Node changed from v16 to v17 the ipBinding preference from ipv4 to ipv6. But the mongodb on default only listens to ipv4 localhost addresses.
Possible solutions:
--ipv6
--dns-result-order=ipv4first
Literature: