Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Nginx 1.4 problem

$
0
0
Hello!

On Wed, May 01, 2013 at 11:17:10AM -0700, Alder Network wrote:

> Just for clarity, I want to be listening on both IPv4 and IPv6 on the same
> port.

You have to write

listen 80;
listen [::]:80;

to listen on both IPv4 and IPv6.

>
>
> On Wed, May 1, 2013 at 11:00 AM, Alder Network <aldernetwork@gmail.com>wrote:
>
> > netstat -pln shows the server is waiting on that port.
> >
> > Yes, I have been using in server section
> > listen [::]:80;
> > What is supposed to be for IPV4 now?
> >
> > I'll go over the changelist later, Thanks,
> >
> > - Alder
> >
> >
> > On Wed, May 1, 2013 at 10:40 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:
> >
> >> Hello!
> >>
> >> On Wed, May 01, 2013 at 10:13:34AM -0700, Alder Network wrote:
> >>
> >> > Tried to upgrade to just-released Nginx1.4. TCP 3-way hand-shake
> >> > aborted by server's ACK+RST packet, but netstat shows server
> >> > is listening on that port. Any config has been changed since Nginx 1.2
> >> > to 1.4 in this regard?
> >>
> >> There are lots of changes in 1.4.0 compared to 1.2.x, see
> >> http://nginx.org/en/CHANGES-1.4.
> >>
> >> In this particular case I would recommend checking if nginx is
> >> listening on the port, the address, and the protocol in question.
> >> Note that since 1.3.4 ipv6only listen option is on by default, and
> >> if you have
> >>
> >> listen [::]:80;
> >>
> >> in your config, it no longer implies IPv4 addresses regardless of
> >> your OS settings.
> >>
> >> --
> >> Maxim Dounin
> >> http://nginx.org/en/donation.html
> >>
> >> _______________________________________________
> >> nginx mailing list
> >> nginx@nginx.org
> >> http://mailman.nginx.org/mailman/listinfo/nginx
> >>
> >
> >

> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>