Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using the following httpd-vhosts.conf file to host several sites on my MacBook.

Apache Configuration

The first two virtual sites (v3.local,ss.local) are giving back the following error messages in the Apache error log:

[Thu Aug 30 15:12:04 2012] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:3002 (localhost) failed [Thu Aug 30 15:12:04 2012] [error] ap_proxy_connect_backend disabling worker for (localhost)]

The third site test.local works fine without any issues.

I can't seem to find out why the first two sites are responding with the listed issue. What could be causing it and how can it be resolved?

share|improve this question
    
What service is supposed to be proxied to? It looks like it's not listening on port 3002. –  Shane Madden Aug 31 '12 at 1:11
add comment

1 Answer

Apache is trying to connect to the backends using IPv6, and those backends are likely only serving using IPv4. You'll need to configure apache to connect to 127.0.0.1 rather than localhost, as localhost resolves to an IPv6 address.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.