Madproject

Always know where your towel is.

Enabling IPv6 in Google Chrome

Alright, this will be a quick post but I wanted to take 5 and write this out for prosperity and maybe somebody else will have a similar issue.

I currently develop in RoR and PHP amongst other languages. For Rails I use Pow to quickly setup a development environment. For PHP I just set manually using the following instruction: How to setup your mac web development environment

The problem is when you use Pow, it kind of breaks your PHP development environments. So the quickest and easiest solution I found was to enable IPv6 in Apache so that your PHP dev. environments don’t conflict with Pow. Instructions on how to do this can be found here: Pow and Apache side by side.

All was good in the hood… until I ditched Firefox for Chrome. I used to use Firefox as my main browser, mainly due to Firebug. Recent developments such as Firefox’s rapid deployment schedule (Which I’m not a fan of, but that’s a whole other story) and high memory usage (I was hovering at 1.24gigs last I used FF with 5 tabs open) spurred me to change browsers.

In comes Google Chrome, life is good. Fast, small memory footprint, great built-in dev. tools… Life is good. But wait a minute, I can’t access my internal PHP dev. projects anymore. Turns out it has something to do with IPv6 and having the same DNS entry on your local machine and on the web… the exacts of it, I don’t know. But I’ve got a SOLUTION! If you’ve read this far, here it is:

Paste this in your Google Chrome address bar:
chrome://net-internals/#dns

Click on Enable IPv6

All done! I haven’t thoroughly tested for symptoms like other pages not loading but so far so good. If you have any information regarding this, please feel to share.

3 comments for “Enabling IPv6 in Google Chrome

  1. thor
    February 21, 2015 at 00:57

    Click on Enable IPv6

    hey, there is no such button for my chrome v40. what can i do then?

  2. nicholas
    August 31, 2015 at 13:45

    There is no such Button available to ENABLE IPV6.
    Not a good way to start a tutorial.

    • Trev
      September 29, 2015 at 13:53

      At the time this was written 4 years ago, Google Chrome had an ‘Enable IPV6’ button. At a glance it now looks like Chrome defaults to IPv6 enabled. As for the actual issue of running PHP and POW in parallel I can no longer comment on as I now use Vagrant + VirtualBox for my PHP projects and Pow for my Rails projects which keeps them nicely isolated.

Leave a Reply

Your email address will not be published. Required fields are marked *