<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi,<div><br></div><div>I noticed today that the MacPorts version of mongodb does not bind to</div><div>the IPv6 ::1 port and only binds to the IPv4 127.0.0.1 localhost. </div><div><br></div><div>Would it be possible to update things to it does bind to IPv6 ::1 too.</div><div><br></div><div>It appears to be a question of adding '--ipv6' to the CLI is the LaunchDaemon</div><div>CLI file.</div><div><br></div><div>I did a local change, such that:</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><?xml version='1.0' encoding='UTF-8'?></div></div><div><div><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"</div></div><div><div>"http://www.apple.com/DTDs/PropertyList-1.0.dtd" ></div></div><div><div><plist version='1.0'></div></div><div><div><dict></div></div><div><div><key>Label</key><string>org.macports.mongodb</string></div></div><div><div><key>ProgramArguments</key></div></div><div><div><array></div></div><div><div>        <string>/opt/local/bin/daemondo</string></div></div><div><div>        <string>--label=mongodb</string></div></div><div><div>        <string>--start-cmd</string></div></div><div><div>        <string>sudo</string></div></div><div><div>        <string>-u</string></div></div><div><div>        <string>_mongo</string></div></div><div><div>        <string>/opt/local/bin/mongod</string></div></div><div><div>        <string>--ipv6</string></div></div><div><div>        <string>--dbpath</string></div></div><div><div>        <string>/opt/local/var/db/mongodb</string></div></div><div><div>        <string>--logpath</string></div></div><div><div>        <string>/opt/local/var/log/mongodb/mongodb.log</string></div></div><div><div>        <string>--logappend</string></div></div><div><div>        <string>;</string></div></div><div><div>        <string>--pid=exec</string></div></div><div><div></array></div></div><div><div><key>Disabled</key><true/></div></div><div><div><key>KeepAlive</key><true/></div></div><div><div></dict></div></div><div><div></plist></div></div><div><br></div></blockquote>This works for me.<div><br></div><div><br><div><div><br></div></div></div></body></html>