-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
Service Crashes on starts #53
Comments
Hi, thx for the report!
The server always binds to TCP port 3240 (the default USBIP network port number). Could you provide me with the following additional information?
|
nope that didn't fix it. |
turned firewall completely off, that didnt fix |
trace command output...
|
Thanks for all the attempts. I know exactly what source line is crashing. However, I have not (yet) been able to reproduce it. Still trying. It looks like you're using a very recent Windows 11 Insider (22489.1000). All I could find on that specific error is: That article suggests that the port may on the blacklist (although that has never been the case on any of my test machines; in fact, this is the first time I encounter this specific error, it's rather rare). Could you check with: One more (wild) guess: Have you used/tried any other USBIP related server software on this machine? Maybe that has persistently changed something for port 3240... Currently, there is an update for Insider to 22494.1000. Perhaps that may give you better results. |
for the netsh command
i guess this is in that first range? netstat -anb | grep 3240 shows no records so i don't think there is anything on that port and yes i know there is an update its flashing at me right now in the sys tray :-) was doing this instead, will go update and report back! |
Great! We found it. Now the big question is: how did all those ports get excluded. Here is my list from the exact same Insider version:
I am running:
Could this be Home/Pro related? |
hmm i found this that implies it can be windows update or installing hyperv that excludes them quite possibly hyperv https://superuser.com/questions/1450103/reserved-ports-in-windows-1809 |
I also have Hyper-V installed (yes ... nested in a VM, that may be different). |
and I am AAD joined i am not classically domain joined so no group policy from AD and no group policy from intune. |
run the netsh command in that nest VM - you should see the exclusions there? |
I think I found something: https://superuser.com/questions/1579346/many-excludedportranges-how-to-delete-hyper-v-is-disabled It looks like your host is NAT-ing for guests, and one of the guests is using port-forwading for exactly that port? Could that be usbipd (maybe even Linux) in a VM? EDIT: |
Other people in that same thread are blaming Docker... |
No VMs installed. |
according to that thread my dynamic ports is mis-set? C:\Windows\System32>netsh int ipv4 show dynamicport tcp Protocol tcp Dynamic Port RangeStart Port : 1024 |
Good catch! |
Looks like a faulty windows update in the past. One that I never received, hence no problems. |
Cool, i ran all 4 of these from the article above, will report back after the build to build upgrade
|
You may want to improve on that. My clean Windows says:
for all 4. Those are the RFC recommended ones too (https://datatracker.ietf.org/doc/html/rfc6056). |
thanks, wonder why the writer of the tech doc chose arbitrary ranges - can i be bothered to open an issue on the tech doc... lol |
for anyone that wants easy cut and paste and arrives here
|
I think we can declare this issue resolved
|
one additional note, the service still wouldn't start |
Interesting ... thx for the info! Will try to polish uninstall/reinstall behavior some more. Always tricky with driver/service installs... |
thanks, will do more testing once:
|
I installed using winget on win11
installed current version
The text was updated successfully, but these errors were encountered: