You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not all unprivileged ports on Android are free for server use by our application. This isn't a big deal for experiments (which resort to 63100-63199 in the ephemeral range anyway), but the nodemanager and its modules must be careful. For example, my Nexus 6 with Android 7.1.1. disallows port 34612 that we use for time updates throughout, and raises CleanupInProgressError.
I went and enumerated all UDP and TCP ports by trying to listen on them. For every line, the status is valid for all ports starting at that number and up to (but excluding) the number on the next line.
UDP:
bad 1
good 1024
bad 5060
good 5061
bad 5353
good 5354
bad 32000
good 32012
bad 32013
good 37000
bad 50010
good 50061
TCP:
bad 1
good 1024
bad 5060
good 5061
bad 32000
good 32012
bad 32013
good 37000
bad 41852
good 41853
bad 42498
good 42499
bad 50010
good 50061
For comparison, procfs on the device tells us that
Not all unprivileged ports on Android are free for server use by our application. This isn't a big deal for experiments (which resort to 63100-63199 in the ephemeral range anyway), but the nodemanager and its modules must be careful. For example, my Nexus 6 with Android 7.1.1. disallows port 34612 that we use for time updates throughout, and raises
CleanupInProgressError
.I went and enumerated all UDP and TCP ports by trying to listen on them. For every line, the status is valid for all ports starting at that number and up to (but excluding) the number on the next line.
For comparison,
procfs
on the device tells us thatIn case you wonder, 1-1023 is the privileged port range; 5060 is used for SIP, 5353/UDP for Bonjour. I don't know about the others.
The text was updated successfully, but these errors were encountered: