From: Steve V. <vi...@ie...> - 2017-02-03 18:17:19
|
Yes, what you're looking for is :: You could also write it as 0:0:0:0:0:0:0:0 but :: is shorter. --steve On Fri, Feb 3, 2017 at 11:57 AM, Mathieu Goutfreind <mat...@gm...> wrote: > Is there something similar to 0.0.0.0 which listens to *:80 in IPV6 ? > > -- mathieu > > Le 03/02/2017 à 17:31, Mathieu Goutfreind a écrit : > > Report.log : > > =INFO REPORT==== 3-Feb-2017::17:19:25 === > Yaws: Listening to ::1:80 for <1> virtual servers: > - http://blabla.eu under /home/mathieu/www > lsof : > > beam.smp 11452 root 32u IPv6 0xfffff801587da820 > 0t0 TCP localhost:http (LISTEN) > > maybe it is because it uses localhost and I want to be seen with my ipv6 > ip from the outside. > > Any idea ? > > -- mathieu > > > Le 03/02/2017 à 03:16, Steve Vinoski a écrit : > > On my Mac laptop I added listen = ::1 to my yaws.conf, started yaws, and > then checked the yaws process with lsof and saw this: > > beam.smp 43865 me 42u IPv6 0x7150c9cc136d0863 0t0 TCP > localhost:8000 (LISTEN) > beam.smp 43865 me 43u IPv4 0x7150c9cc0ca7ff5b 0t0 TCP > *:8443 (LISTEN) > beam.smp 43865 me 44u IPv4 0x7150c9cc14a38853 0t0 TCP > *:8000 (LISTEN) > > As you can see, the first item shown here is IPV6, localhost, just what > I'd expect, and accessing http://localhost:8000/ in my browser works as > expected. > > Can you check your server this way? > > --steve > > > On Thu, Feb 2, 2017 at 1:51 PM, Mathieu Goutfreind <mat...@gm...> > wrote: > >> That's the weird point, no error at all. >> >> Report.log says all is ok. >> >> >> Here is an extract of my yaws.conf : >> >> <server blabla> >> php_handler = <fcgi, 127.0.0.1:9000> >> auth_log = true >> #appmods = <cgi-bin, yaws_appmod_cgi> >> port = 443 >> listen = ::1 >> listen = 0.0.0.0 >> docroot = /home/mathieu/www >> expires = <image/webp, access+604800><image/jpg, >> access+604800> <image/jpeg, access+604800> <image/png, access+604800> >> <text/css, access+604800> <text/css, access+604800> >> <application/javascript, access+604800><application/x-javascript,access+604800> >> <text/javascript, access+604800> >> deflate= true >> </server> >> >> >> >> Le 02/02/2017 à 18:17, Steve Vinoski a écrit : >> >> >> >> On Thu, Feb 2, 2017 at 11:15 AM, Mathieu Goutfreind <mat...@gm...> >> wrote: >> >>> Hello, >>> >>> I've got a simple matter in my configuration, when I put : >>> listen = ::1 >>> >>> in yaws.conf it doesn't work, yaws listen to my interface but never >>> serve ipv6. >>> >>> But if I write : >>> listen = my_ipv6_address >>> >>> It works well. >>> >>> Is there something wrong with ::1 ? >>> >> >> Is there anything in your log file related to this? >> >> --steve >> >> >> >> Le 02/02/2017 à 18:17, Steve Vinoski a écrit : >> >> >> >> On Thu, Feb 2, 2017 at 11:15 AM, Mathieu Goutfreind <mat...@gm...> >> wrote: >> >>> Hello, >>> >>> I've got a simple matter in my configuration, when I put : >>> listen = ::1 >>> >>> in yaws.conf it doesn't work, yaws listen to my interface but never >>> serve ipv6. >>> >>> But if I write : >>> listen = my_ipv6_address >>> >>> It works well. >>> >>> Is there something wrong with ::1 ? >>> >> >> Is there anything in your log file related to this? >> >> --steve >> >> >> > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Erlyaws-list mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/erlyaws-list > > > |