Listening on same IPv4 and IPv6 port? #2305
Unanswered
jcorporation
asked this question in
Ask questions, get answers
Replies: 3 comments 4 replies
-
@jcorporation why should it, if you have specified the ipv6 listening address ? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Should I maintain my own patch or is there any chance that this behavior will change? A compile time option would be perfect for me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
What if we change : #if defined(IPV6_V6ONLY)
to #if MG_IPV6_V6ONLY
And define MG_IPV6_V6ONLY as 0 by default, would that work ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the http-server from the example and run it with
./example -l http://[::]:8080
. Should mongoose listen also on IPv4 0.0.0.0:8080 in this case?Plattform is: Linux t14 6.2.0-25-generic #25-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 17:05:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Beta Was this translation helpful? Give feedback.
All reactions