-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the same port number, the td-agent fails to bind to IPv4 alongside IPv6 #2682
Comments
This looks like Linux's dual-stack mode issue: https://stackoverflow.com/questions/51911564/cannot-bind-socket-to-port-in-both-ipv4-and-ipv6 |
Hi @repeatedly, thanks for the prompt response. I suspect this is not a Linux issue.
|
Yeah, maybe rsyslog sets
I will check how to apply |
I checked the source code and |
Signed-off-by: Masahiro Nakagawa <[email protected]>
Describe the bug
When trying to configure the td-agent to bind both to IPv4 and IPv6 using the same port, The following error occurs:
To Reproduce
Use the below-mentioned configuration.
Expected behavior
fluentd should be able to use the same port number for both types of IP addresses.
Your Environment
td-agent 1.7.4
Fedora 29
4.18.16-300.fc29.x86_64
Your Configuration
Your Error Log
Additional context
Just to note that as a workaround, if you set two different port numbers, it binds to both IPv4 and IPv6.
The text was updated successfully, but these errors were encountered: