+ 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

22nd Sep 2020, 6:58 AM
Issah Ibrahim
Issah Ibrahim - avatar
12 Answers
+ 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?
22nd Sep 2020, 7:06 AM
Tarun Gautam
Tarun Gautam - avatar
+ 4
Live Server tutorial https://youtu.be/ZT7EYkacVfQ
22nd Sep 2020, 7:06 AM
Gordon
Gordon - avatar
+ 3
If you are using Microsoft Edge, then you must do this step done by this Microsoft developer: https://youtu.be/q4rL_Lnt6kA
22nd Sep 2020, 7:22 AM
Gordon
Gordon - avatar
+ 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 }
22nd Sep 2020, 7:14 AM
Tarun Gautam
Tarun Gautam - avatar
+ 1
My browser is Microsoft edge
22nd Sep 2020, 7:09 AM
Issah Ibrahim
Issah Ibrahim - avatar
+ 1
My OS is Windows 10pro System type is 64bit
22nd Sep 2020, 7:19 AM
Issah Ibrahim
Issah Ibrahim - avatar
+ 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
22nd Sep 2020, 7:59 AM
Issah Ibrahim
Issah Ibrahim - avatar
+ 1
#Tarun #Gordon thanks I appreciate your effort and help
22nd Sep 2020, 8:45 AM
Issah Ibrahim
Issah Ibrahim - avatar
+ 1
Check tutorials on using live server
22nd Sep 2020, 9:20 AM
Michael Osuya
Michael Osuya - avatar
22nd Sep 2020, 2:51 PM
Jishan hindi gaming
Jishan hindi gaming - avatar
+ 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
23rd Sep 2020, 2:31 PM
Issah Ibrahim
Issah Ibrahim - avatar
+ 1
If you mistakenly import a component inside the same component it can cause that
23rd Sep 2020, 2:33 PM
Issah Ibrahim
Issah Ibrahim - avatar