Unable to use UDP port 56326 for VS/Unity messaging.

I’m using Unity 2020.3, every time I started a new project, I got this warning message.
"Unable to use UDP port 56326 for VS/Unity messaging. "

I’m not making any change to Windows 10 default firewall setup, I don’t get this warning in Unity 2019.4.
I’m wondering how this issue may impact the use of Editor, and how can I solve it?

Thanks.

1 Like

I’m also hitting this exact same message.

1 Like

This seems to be a new one for me too. Might wanna flag it as bug perhaps?

2022.3.6.f1c1 same issue. any solutions?

Same here.

Just got this - but possibly a Microsoft issue? Mine is port 56380 though
message is from VS package - code: (Microsoft.Unity.VisualStudio.Editor.) VisualStudioIntegration

for fixing it just go to unity help tab and click on reset packages to default it will fix the problem. Thank You.

2 Likes

still happening

same…

well, the first question is why cant it? have you checked to see if its in use by something else

did not work

Same issue here, I’ve checked netstat and nothing is using the port

I started seeing this error recently and discovered that it was caused by the “Bluetooth Device (Personal Area Network)” device. After disabling it in the Device Manager, the error went away.

I did this and it broke my whole project. Maybe don’t do this one and just ignore the error, this is much worse.

I did this and some how it fixed, but beware your whole installed package will be uninstall just remember which package you have installed then reinstall it back

This is basically a Microsoft issue, you can see where it occurs in their plugin code. They told me to check what was using the port - answer = nothing apparently!
Seems like poor code which randomly chooses a port and does not look for an alternative when fails.
How we can get that from Microsoft is beyond me!!