The specified port is in use

Christopher Holland 0 Reputation points
2024-01-15T18:25:07.6166667+00:00

Error.jpg When I try to debug my code in VS2022, I get the attached error. I have confirmed the only app that is using this port is VS2022, and only after I click the 'Play' button. I have tried restarting VS2022, restarting the computer, and even attempting to change the port in the project's properties. I have also tried uninstalling and reinstalling VS2022. Nothing works, and this is now a work-stoppage issue as I can no longer run the code in the development environment. As such, not testing or error checking can be done.

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,002 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Olaf Helper 44,936 Reputation points
    2024-01-15T21:09:21.3133333+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.