App Academy

Cannot open the html assessment on chrome via vc

When I hit run without debugging on visual code my project will not come up in google chrome. I get the following message:

This site can’t be reached

localhost refused to connect.



and the error that occurs is http://localhost:8080/

I am confused as to what to do as I cannot even view my project in the browser.


Let’s try opening your project a different way.

In VSCode, try right-clicking on your index.html file, and then click on “Copy Path”. Then paste that path into the URL of your browser, and you should see your project come up on the browser screen.

Let me know how this goes!