Question

How do I enable loopback connections on Ubuntu 14.04?

I’m attempting to install Koken on Ubuntu 14.04 LAMP, and am getting the error: “The theme is not able to make contact with your Koken installation. Contact your host to see if they are blocking loopback connections.”

Apparently this is a common problem for Koken installs on shared hosts, but I haven’t found any specific instructions on enabling this for my own server. The closest I’ve gotten is opening up /etc/hosts and noticing an entry that refers to “ip6-loopback”.

Thank you for any help!

Here is the contents of my etc/hosts:

127.0.0.1       localhost
127.0.1.1       elcontraption.com elcontraption

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

OK figured it out, I just needed to add an entry for the domain I was using for Koken under 127.0.0.1:

127.0.0.1       localhost
127.0.1.1        example.com example
127.0.1.1        koken.example.com

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters