Error when using browser debugger in Visual Studio 2019 Professional

rms2256 1 Reputation point
2021-05-26T11:23:01.477+00:00

Hello, and thanks in advance to anyone who can help me with this problem.

I am programming in JavaScript, using Visual Studio 2019 Professional, and am encountering an error when debugging using the browser option (Microsoft Edge). The error page looks as follows:

99846-image.png

It returns a 'localhost refused to connect' (ERR_CONNECTION_REFUSED) statement. I have already searched for hours for a solution to this problem, allowed Visual Studio through my firewall, and done much testing to try and solve the problem.

Any more help with this would be greatly appreciated.

Thanks,
-rms2256

Developer technologies Visual Studio Other
{count} votes

1 answer

Sort by: Most helpful
  1. rms2256 1 Reputation point
    2021-08-31T14:55:49.2+00:00

    I have decided to not use Visual Studio 2019 as I was unable to solve the issue. I now am using replit.com (an online coding environment).

    After further consideration, I think the error may be due to a failure in communication between the Visual Studio program and the browser; perhaps port communication.

    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.