Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.4.0f1
2017.4.29f1
2018.4.0f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1178646
Regression
No
An application listens on a random port when using an HttpListener on Windows Server 2012 SP2
How to reproduce:
1. Build and run the user attached project
2. Insert "http://127.0.0.1:12345/" into the text field
3. Click on "Start"
4. Find the port application is listening on using "netstat -aon | findstr [Application PID]"
Expected results: The application is listening on port 12345 (0.0.0.0:12345)
Actual results: The application is listening on a random port (0.0.0.0:[Random port])
Reproducible with: 2017.4.32f1, 2018.4.9f1, 2019.2.7f2, 2019.3.0b5, 2020.1.0a6
Additional notes:
1. Task Manager can show the PID of the application
2. The application listens on the port 12345 only locally
3. The issue does not reproduce on Windows 10 and Windows 8
4. Windows Server was running on a VirtualBox. It may have affected the results
5. Testing was done using .NET 3.5 and 4.x equivalents. On .NET 3.5 the application was listening on the chosen port, but a new random port was open too
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
ashwinimurthy
Oct 21, 2019 15:45
I am sorry to say that will be not be fixing this particular issue because it only happens on Windows Server 2012 SP2 and has a very low vote count.