+ 2
How do i solve my local host connection problem it just keep on loading when coding in vs code
Sometimes in vs code it works but now my local host keeps on loading but I have enough data in my wifi,I tried using live server but is not working too or probably I just don't how to use it properly, can any one help please
12 Réponses
+ 6
Make sure Right Click on html file (not on css or js file) and click Open with Live Server and again repeat the step without stopping the server. If it's NOT works for you! I've another workaround for you.
Try this, if it not works, tell me about few things -
OS Name?
Which browser you want to start?
+ 4
Live Server tutorial
https://youtu.be/ZT7EYkacVfQ
+ 3
If you are using Microsoft Edge, then you must do this step done by this Microsoft developer:
https://youtu.be/q4rL_Lnt6kA
+ 2
Go to Files > Prefrences > Settings
From Default User settings choose LiveServer Config
Inside it click on pen icon to the left on liveServer.settings.CustomBrowser select microsoft edge.
If it's not work try this
Open your User Settings and setup the settings
For 64bit system.
{
"liveServer.settings.AdvanceCustomBrowserCmdLine: ": "C:\\Program Files (x86)\\Google\\edge\\Application\\edge.exe",
"liveServer.settings.NoBrowser": false
}
For 32bit system.
{
"liveServer.settings.AdvanceCustomBrowserCmdLine: ": "C:\\Program Files\\Google\\edge\\Application\\edge.exe",
"liveServer.settings.NoBrowser": false
}
+ 1
My browser is Microsoft edge
+ 1
My OS is Windows 10pro
System type is 64bit
+ 1
When I open my project with live server in vs code it takes me to a listing directly page instead of the real page what is the problem
+ 1
#Tarun #Gordon thanks I appreciate your effort and help
+ 1
Check tutorials on using live server
+ 1
Thanks everyone for the help problem solved, it wasn't any config settings required, I mistakenly imported a component inside the same component this caused local host to keep loading
+ 1
If you mistakenly import a component inside the same component it can cause that