Newbie VSCode Running Locally Problem
have simple web page that I was able to run locally in chrom on local host 8080. Now I try and run it and I get error... Localhost refused to connect... I don't believe I changed anything.. What do I need to do here?
12 Replies
Doesnt look like your server is running
what kinda project is it? how are you starting it?
I am clicking Run... start debugging...
html with bootstrap
uhm
so for starters, this is a C# discord
and second, html isnt.. runnable code, so to speak
you'd normally just use a vscode extension to start a local webserver to host it, if its just straight html
LiveServer is the one I use for similar purposes
Thank you. I believe I did have that extension. Maybe I turned it off accidently. How do I start that?
bottom right corner
click this
I guess I did not have that installed. I just installed it. How do I direct my page to it?
what do you mean?
you click the button, it gives you a URL
you click the url
Got it. Thank you. In the plug in header it shows a duel panel of your code and the live server... You can make html changes and they show immediately in LiveServer?
dont think it has live reload by default
This got me well on my way. Thank you. Have a nice day.