On Tue, Feb 26, 2013 at 10:45 AM, Brian May <brian@microcomaustralia.com.au> wrote:
On 26 February 2013 10:22, Brett Pemberton <brett.pemberton@gmail.com> wrote:
server {
        listen   [::]:80;


Depending on how  IPV6_V6ONLY is set (default is /proc/sys/net/ipv6/bindv6only and can be changed per application), the above might only be listening for IPv6 connections.

Yeah, I had a lot of trial and error with that part of nginx, perhaps I left things in a state that isn't quite correct.
 

So if you are trying to connect to IPv4 you might be connecting to something else.

Check with "ss -an" or "netstat -n --tcp -a" and see if there is a separate socket listening for IPv4 connections.

LISTEN     0      128                      :::80                      :::*     


tcp6       0      0 :::80                   :::*                    LISTEN 
 

If there is only one listener, it is IPv6, and it accepts IPv4 connections, then I am on the wrong track entirely.