-
Notifications
You must be signed in to change notification settings - Fork 104
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
setup_mcast_listener: bind: Address already in use #18
Comments
Apply the following patch, test and let me know if it makes any difference: --- a/chipmunk/netop.c +++ b/chipmunk/netop.c @@ -214,6 +214,7 @@ setup_mcast_listener( struct sockaddr_in* sa, "for mcast socket [%d]\n", sockfd ) ); }
@@ -226,6 +227,7 @@ setup_mcast_listener( struct sockaddr_in* sa,
The idea is to re-initialize the ON variable before SO_REUSEPORT. Cheers. |
Thx for you reply! I found this I will try to test that patch |
I see that the recommendation is just to use SO_REUSEPORT in place of SO_REUSEADDR. My approach was to use both (if SO_REUSEPORT is defined), but perhaps the call to set SO_REUSEPORT was ignored if SO_REUSEADDR reset the ON variable. Please test my patch, it's important to see if it fixes the issue mentioned in all these forums. I'll appreciate your effort. |
Thanks to @hiboyhiboy for helping compile the patched file :) Unfortunately, patch does not work, and still prompts an error with "setup_mcast_listener: bind: Address already in use" But I have tried to solve this problem temporarily, I changed other programs port ; ) |
Now, there is 1.0-24.1 on my router, Dozens of channels can be switched freely and played perfectly, only one channel cannot be played, there will be such an error message in the background
However, the igmp address of this channel is playable, such as rtp: //239.3.1.209: 8052
rtp: //239.3.1.209: 8052 can play
http://192.168.123.1:2333/rtp/239.3.1.209:8052 cannot be played
All other channels are normal, but this one is problematic. The error is:
Mar 10 14:39:31 udpxy[10557]: setup_mcast_listener: bind: Address already in use
Mar 10 14:39:31 udpxy[10558]: setup_mcast_listener: bind: Address already in use
update
I found that there are other programs occupying 8052 port
I want to know from udpxy's perspective, is there any way to solve this problem?
The text was updated successfully, but these errors were encountered: