On Wed, Jan 15, 2014 at 7:30 AM, Dirk Koopman <d...@tobit.co.uk> wrote:
> Am I missing something here? Unless you are perming these two addresses > out of several more, what's wrong with: MOJO_LISTEN=http://[::]:80 ? This > will happily answer on both IPV4 as well IPV6 (on a linux box at least). Thanks, Dirk! I *just* figured this out this morning. Nevertheless, the fix that sri applied last night was an appropriate one. When I listen on http://[::]:80 I get these checkip responses: $ mojo get http://12.110.226.61:80 *::ffff:24.107.112.178* $ mojo get http://[2001:1890:1221:800::61]:80 2001:470:7c:1e5::108 Compare this to listening on http://[2001:1890:1221:800::61]:80, http://12.110.226.61:80 $ mojo get http://12.110.226.61:80 *24.107.112.178* $ mojo get http://[2001:1890:1221:800::61]:80 2001:470:7c:1e5::108 For the purpose of my checkip app, the latter is a more desirable behavior. -- *----------------------------------------------------------------* *Keystone IT made the following notation* *----------------------------------------------------------------* *Email Confidentiality Notice: The information contained in this transmission is confidential, proprietary or privileged and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). * *This message is for the sole use of the intended individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited and may subject you to criminal or civil penalties. If you received this transmission in error, please contact the sender immediately at (314) 621-9500 and delete the material from all computers.* -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To post to this group, send email to mojolicious@googlegroups.com. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/groups/opt_out.