Connection to ::1 failed.
The system returned: (111) Connection refused
The remote host or network may be down. Please try the request again.
Squid log;
==> /var/log/squid/cache.log <==
---------
GET / HTTP/1.1
Host: MY_HOST_IP
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Cookie: _payment_session=N3dlNkRKS1dKejd3WGVSd2QveEcrTzZaMENuN3JUc3pNL1BrZ2VQalprZ3htZGtrRG5BeWY4WTdmanpzRXZCeWZnNjNQd2F0Wm9ZdVd5VzFIZ3JPZkxRZ3pUMTN1U0JNTjUwWUpDVU4xNUgrZ0tCZWdFT3BGRFlLZlFadGNBQ1NFbndHQmk2WFQyNnNLOEh0YVBrWkRoSHh3QnlYL2tNZ1NwT3VXKzdNUjJkcHJJRThKTEd3TVdYajU2Mm5zazdSRWcwenhRNGNpMzY1dTAxb0VQWUJyL3I0dFZLanFhRTRyRXVsK21lMUdXSENabnVSbXFTV3poUHJNd2JscmJ3RGZTeit6YW9vSVpEaHByOGx0UlJXc09Ib1M3dGRGdWFsNlB6UWJkcmN5cGc9LS0yZ1RMMk4vUnByTVNQSVBaODZINnVBPT0%3D--c4eb424b0c331b8469d10c85d579f7d5359bc756
Connection: keep-alive
----------
2016/01/04 21:15:00.225 kid1| 11,2| client_side.cc(1391) sendStartOfMessage: HTTP Client local=MY_HOST_IP:80 remote=MY_LOCAL_IP:4695 FD 14 flags=1
2016/01/04 21:15:00.225 kid1| 11,2| client_side.cc(1392) sendStartOfMessage: HTTP Client REPLY:
---------
HTTP/1.1 503 Service Unavailable
Server: squid/3.5.12
Mime-Version: 1.0
Date: Mon, 04 Jan 2016 21:15:00 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 4265
X-Squid-Error: ERR_CONNECT_FAIL 111
Vary: Accept-Language
Content-Language: en-us
X-Cache: MISS from squid.proxy
Via: 1.1 squid.proxy (squid/3.5.12)
Connection: keep-alive
----------
==> /var/log/squid/access.log <==
1451942100.226 1 MY_LOCAL_IP TCP_MISS/503 4618 GET http://MY_HOST_IP/ - ANY_OLD_PARENT/::1 text/html
MY_LOCAL_IP - - [04/Jan/2016:21:15:00 +0000] "GET http://MY_HOST_IP/ HTTP/1.1" 503 4618 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0" TCP_MISS:ANY_OLD_PARENT
Hongli Lai writes: > You configured Squid to forward to an IPv6 address. Passenger isn't > listening on IPv6, it's listening on IPv4. So you need to configure > Squid to forward to '127.0.0.1', not 'localhost' (which primarily maps > to the IPv6 address '::1').
Sorry for late reply, I seem like missing something in my email. Thank you very much, It worked!
--
You received this message because you are subscribed to a topic in the Google Groups "Phusion Passenger Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phusion-passenger/mttMT2-5nUk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phusion-passen...@googlegroups.com.
To post to this group, send email to phusion-...@googlegroups.com.
Visit this group at https://groups.google.com/group/phusion-passenger.
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/CAM3ce8FtHcsYTJ0-Z4pjAuOgs9PQGreLNvywWg4xHXmK2_vdqA%40mail.gmail.com.