Phillmac

Service opens thousands of listening udp ports on startup

Recommended Posts

Soon after starting the service, the log is full of entries (see below) and the service fails to listen on the configured port, finally picking a (seemingly) random port to listen on.

sync version: 

 2.6.3 (1340) (server)
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56125
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56125
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56125: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56126
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56126
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56126: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56127
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56127
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56127: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56128
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56128
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56128: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56129
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56129
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56129: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56130
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56130
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56130: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56131
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56131
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56131: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56132
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56132
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56132: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56133
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56133
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56133: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56134
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56134
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56134: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56135
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56135
[2019-11-21 10:25:17.607] UDP: UDP port bind failed 0.0.0.0:56135: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.607] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56136
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56136
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56136: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56137
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56137
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56137: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56138
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56138
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56138: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56139
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56139
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56139: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56140
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56140
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56140: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56141
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56141
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56141: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56142
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56142
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56142: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56143
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56143
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56143: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56144
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56144
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56144: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56145
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56145
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56145: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56146
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56146
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56146: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56147
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56147
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56147: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56148
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56148
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56148: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56149
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56149
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56149: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56150
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56150
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56150: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56151
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56151
[2019-11-21 10:25:17.623] UDP: UDP port bind failed 0.0.0.0:56151: (10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. 
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafb40][596] bound listening socket 596 to IP 0.0.0.0:56152
[2019-11-21 10:25:17.623] class PeerListenConnection::Socket::listen[0x000001a23ecafbc0][1028] bound listening socket 1028 to IP [::]:56152

 

Share this post


Link to post
Share on other sites

Turns out it was the windows dns service (dns.exe) hogging port 56125

The solution was to mark 56125 as reserved in the ephemeral port ranges in the registry.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.