Why Visual Studio Code Live Server Not Working?

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 พ.ย. 2024
  • 🎉🎉 Join Payoneer & Earn 25$ 👉 alihossain.com...
    👩‍💻 Learn Tailwind CSS 👉 alihossain.com...
    👩‍💻 Learn Web development 👉 alihossain.com...
    👩‍💻 Learn Bootstrap 5 alihossain.com...
    ☕ Buy Me A Coffee 👉 www.buymeacoff...
    Live Server extension works fine with most of the machines but some of you might face an issue, it's not working perfectly on your machine. In this video, I will try to give you some ways how to mitigate the issue and have an excellent coding experience with vs code live server, let's begin.
    🎉🎉 Recommended Hosting
    ==========================
    👉 Buy Hosting with a Free Domain here: www.alihossain...
    👌 Discount Coupon Code: PROCODERBD (7% OFF )
    😊 Coupon Validity: Unlimited time
    👌👌 Text version of the video
    ===========================
    www.alihossain...
    🔴 Web Development Roadmap - A Practical Guide
    =========================================
    • Web Development Roadma...
    🔴 Best way to learn code faster
    ===========================
    • Best way to learn code...
    👩‍💻 Tailwind CSS From Scratch | With Multiple Projects
    =======================================================
    www.udemy.com/...
    👩‍💻 Build Responsive Websites with Modern HTML & CSS with Sass
    =======================================================
    www.udemy.com/...
    👩‍💻 Bootstrap 5 Essential Training: With Projects
    =====================================
    www.udemy.com/...
    ✅ For Branding & Business Inquiries
    ===========================
    ✅ ► shovoalways@gmail.com
    #LearnWithAliHossain
    Connect me on social media so you will find my entire tutorial first. If that sounds like something that could help grow your business, then make sure to join me by subscribing!
    ✅ Facebook:
    ==============================
    / alibd654
    ✅ Twitter:
    ==============================
    / shovoalways
    ✅ Instagram
    ======================
    / shovoalways
    ✅ My Website
    ==============================
    www.alihossain.com

ความคิดเห็น • 254

  • @deeperdeeper7882
    @deeperdeeper7882 2 ปีที่แล้ว +15

    Thanks for the video🙂. That suggestion to create folder helped resolve my issue.
    Just wanted to add something I have noticed as it might help complete beginners like me. Even after creating the folder and moving my .html file to it, it's not giving me the option 'open with liveserver' in vs code. Then, I realized that the issue was because I created the folder and named it like you suggested but was opening the file using 'open file' instead of 'open folder' option under vs code 'File' section. When I used 'open folder' in vs code and clicked the .html file under that folder inside vs code, I could then see 'open with liveserver' on right clicking.

    • @shovoalways
      @shovoalways  2 ปีที่แล้ว +2

      Pinned ❤️

    • @BLACKDEVILRoot
      @BLACKDEVILRoot ปีที่แล้ว +2

      @Deeper Thanks a lot it was my case after 2 hours of research

    • @sparky_says
      @sparky_says ปีที่แล้ว

      that is exactly what happened with me guys you should click folder and then choose your file

  • @garyj7990
    @garyj7990 2 ปีที่แล้ว +8

    Thanks Ali. I have been trying to resolve this for days. Found your video and fixed in five minutes. You just got a new subscriber. 👍

  • @LaibaArshad-q4o
    @LaibaArshad-q4o 3 หลายเดือนก่อน

    oh my Godddd
    thank you so so muchhhh
    I've watched many videos but none of them worked at all
    but as soon as i followed your step 1, it immediately WORKED!!!!!!

  • @AsafEfraim-u8m
    @AsafEfraim-u8m 2 ปีที่แล้ว

    I draged the html folder into VSC and it all restarted and works again!!!
    Thank you!

  • @sackchico
    @sackchico 2 ปีที่แล้ว +5

    Thank you so much! So simple and straight to the point!

  • @Cristina-rq4fo
    @Cristina-rq4fo ปีที่แล้ว

    Thanks a lot. I am in a bootcamp and for some reason, my live server was not working. Got it all sorted out. Thanks!!

  • @asmrsatisfying1940
    @asmrsatisfying1940 2 ปีที่แล้ว

    Thank you sooooo much i've been searching for days and nothing changed till i saw your video

  • @PvilleTennis
    @PvilleTennis 9 หลายเดือนก่อน

    One of the problems that you didn't mention was that new users need to install the live server by going to extensions and installing Live Server, But your video helped thanks!

  • @ВикторияТрясучева
    @ВикторияТрясучева ปีที่แล้ว

    Thank you very much! I spent several hours on solving my problem and only your video helped me!!

  • @uaeson4386
    @uaeson4386 ปีที่แล้ว

    Thank you so much for this helpful video. I was suffering looking for solution for my problem, which was how to install Live Server correctly on MacBook Pro. 😃

  • @SierraGax
    @SierraGax 11 หลายเดือนก่อน

    Thnak you Ali! The very first minute of your video answered my problem:)

  • @Apex_Riaz
    @Apex_Riaz 9 หลายเดือนก่อน

    Thank you,
    my problem was the space in the file name, such a simple change.

  • @Etuza_informatica
    @Etuza_informatica 5 หลายเดือนก่อน

    After hours I finaly find some one whos actualy helps. Thank you!

  • @hellofromargentina4401
    @hellofromargentina4401 ปีที่แล้ว

    Thank you very much I clicked 'Open Folder' and it worked.

  • @harshkumarsharma350
    @harshkumarsharma350 ปีที่แล้ว

    Thanks bro, first folder mistake I have not created that's was my issue.

  • @shovoalways
    @shovoalways  2 ปีที่แล้ว +16

    What do you think about this video, let me know in the comment section.

    • @abiolasamuel9760
      @abiolasamuel9760 2 ปีที่แล้ว

      Any time I click go live at the right bottom corner it doesn't run the code it says "🚫port 5500" all the time
      What do I do

    • @davidoluremi1981
      @davidoluremi1981 2 ปีที่แล้ว +1

      I like the video but i've still got some questions...
      First how do you enable the web browser on the right of your code editor, i saw it in the video.
      Second, does live server only work with .html files?

    • @shiv8189
      @shiv8189 2 ปีที่แล้ว

      Live server extension problem

    • @Noob-yj1uo
      @Noob-yj1uo 2 ปีที่แล้ว

      You're a genius! Wish I’d found this demo 3 hours ago! Thank you

    • @nileshrathod4385
      @nileshrathod4385 2 ปีที่แล้ว

      It's very helpful thank you

  • @humanbehindthetoken1882
    @humanbehindthetoken1882 ปีที่แล้ว

    Thanks, Ali for me it was Step 3. I was literally losing it for 2 weeks!

  • @piotrrodzen772
    @piotrrodzen772 2 ปีที่แล้ว +1

    For me it was a straightforward problem with the folder name so thanks for help

  • @SHEIKHHARIS8695
    @SHEIKHHARIS8695 7 หลายเดือนก่อน

    Finally, after watching alot of videos I fixed this problem.

  • @DiegoRockLoiro
    @DiegoRockLoiro ปีที่แล้ว +1

    Thank you so much! You were the only one that actually helped me!

  • @tooveralls
    @tooveralls 2 ปีที่แล้ว +1

    Thank you for your great video! Your video gave me a solution to the problem that I was looking for! 😃

  • @MiroslavSomifastCZSomodsky
    @MiroslavSomifastCZSomodsky 7 หลายเดือนก่อน

    Thanks for the video .. I finally got it
    specific information why I do not see the content of the file on the live server. I didn't have the file in the folder. :-( now I know it will stay there forever :-))) thanks again

  • @jessadefiesta6606
    @jessadefiesta6606 2 ปีที่แล้ว

    My queries about live server has finally been answere. Thank your Sir

  • @AdrianoPereira-xx5pz
    @AdrianoPereira-xx5pz 2 ปีที่แล้ว +1

    Thousand blessings to you. Sometimes it‘s the smallest details that cost the most time

  • @montasirbillah1395
    @montasirbillah1395 2 ปีที่แล้ว

    i try 40 minutes plus finally in few minutes you solve it. love from bang.............

  • @kramyshan8121
    @kramyshan8121 14 วันที่ผ่านมา

    The best explanation ever! Thank you very much!

  • @olgalavida7977
    @olgalavida7977 3 หลายเดือนก่อน

    Thank you! I had a space in my folder's name!

  • @sanjitapatnaik586
    @sanjitapatnaik586 8 หลายเดือนก่อน

    Thank you so much this video helped me to resolve my issue.

  • @OneBrokeBloke
    @OneBrokeBloke ปีที่แล้ว +1

    For me, the problem was not having a default browser. Usually everytime you open a browser, it will ask you "PLS MAKE US THE DEFAULT BROWSER", but apparently not here.
    So definitely check that i guess.

  • @celorhmbibah8981
    @celorhmbibah8981 2 ปีที่แล้ว

    Very, Very helpful. I've been trying to solve this problem for weeks. 2 mins into the video i found my solution. I'm subs right away for more tips from you.

  • @JP-zh6qt
    @JP-zh6qt 2 ปีที่แล้ว

    Hey
    Man Thanks . it worked in the last option 😅. New follower.

  • @abdolrahmanmahmoud1542
    @abdolrahmanmahmoud1542 ปีที่แล้ว

    Thank you bro the problem has solved perfectly 🎉

  • @alexispfaff9263
    @alexispfaff9263 2 ปีที่แล้ว

    thank you so much! exactly what I was looking for

  • @BrianGodana-bc2hx
    @BrianGodana-bc2hx ปีที่แล้ว

    Thank you sir.
    Your guidance was very helpful.

  • @ScreenPrintR
    @ScreenPrintR ปีที่แล้ว

    Thank you. For me the issue was that the new file needed to be added to the Workspace.

  • @mn.fuad26
    @mn.fuad26 7 หลายเดือนก่อน

    the restarting worked. Thanks a lot

  • @jervansahd3657
    @jervansahd3657 2 ปีที่แล้ว

    The folder spaces did it. Thank you

  • @Iliyaz-fj7un
    @Iliyaz-fj7un 3 หลายเดือนก่อน

    Thankyou ali folder trick worked 😊

  • @tiffanyrudd1383
    @tiffanyrudd1383 2 ปีที่แล้ว

    Exactly what I needed. THANK YOU!!

    • @shovoalways
      @shovoalways  2 ปีที่แล้ว

      Glad it helped!

    • @sarminkhatun5595
      @sarminkhatun5595 ปีที่แล้ว

      @@shovoalways Thank you vi Solved the problem

  • @elizabethsamboonuwa6875
    @elizabethsamboonuwa6875 2 ปีที่แล้ว

    This was really helpful to me, thanky you.

  • @vusimoshoeshoe1015
    @vusimoshoeshoe1015 2 ปีที่แล้ว

    Fixed my issue in only 0:58 into the video 👍🏾👍🏾

  • @squidgamelesgoooo
    @squidgamelesgoooo ปีที่แล้ว

    thank youuu by opening my folder it worksss

  • @DanishKhan-iu6qu
    @DanishKhan-iu6qu หลายเดือนก่อน

    Thank you so much i have view only 1 mintue and i am understand that how my server is not working thanks for informational video

  • @anadanielacolinadiaz9753
    @anadanielacolinadiaz9753 2 ปีที่แล้ว

    Thank you for your video. It helped me a lot!!

  • @strayinworld7827
    @strayinworld7827 8 หลายเดือนก่อน

    Thank you, you saved me and my education.

  • @Скрытыйбойчик
    @Скрытыйбойчик 8 หลายเดือนก่อน

    You help me a lot. Thx, man

  • @sumayaNoman
    @sumayaNoman 2 ปีที่แล้ว

    Hi Ali
    Thanks a lot for fixing my problem!

  • @ram9830
    @ram9830 8 หลายเดือนก่อน

    Thanks! It solved my problem.🙂

  • @nikhilsingh2538
    @nikhilsingh2538 2 ปีที่แล้ว

    Thanks Bro, you solved my issue.......Always keep smile.

  • @scaledeals-io
    @scaledeals-io 8 หลายเดือนก่อน

    Fixed my problem in 5 seconds, thank you!!

  • @alvarobaldovino
    @alvarobaldovino 9 หลายเดือนก่อน

    Thanks, to the point my friend!!

  • @ahmetkarakartal9563
    @ahmetkarakartal9563 ปีที่แล้ว

    My problem is solved. Thank you so much.

  • @TheAshar09
    @TheAshar09 ปีที่แล้ว

    Thank you my issue was default browser i solve with your help

  • @Suraj6642
    @Suraj6642 2 ปีที่แล้ว

    thank you setting up chrome worked for me

  • @paconity791
    @paconity791 ปีที่แล้ว

    apparently if you are using wsl and store the files in the linux side live server wont work, so just place the files on the desktop

  • @nivethapalaniswamy8961
    @nivethapalaniswamy8961 ปีที่แล้ว

    Thank you sir... I got the answer from ur video....

  • @camiloroa3182
    @camiloroa3182 2 ปีที่แล้ว

    Many regards it is working, thanks Ali ;) 20/03/2022

  • @nomanrajpoot-mq9jk
    @nomanrajpoot-mq9jk ปีที่แล้ว

    Appreciations you mate

  • @nageshmohurle4198
    @nageshmohurle4198 2 ปีที่แล้ว +1

    my live server still not working what should i do

  • @cocytus5298
    @cocytus5298 2 ปีที่แล้ว

    great video now i can use live server
    thank you ali

  • @mugabedaniel9858
    @mugabedaniel9858 ปีที่แล้ว

    This is so helpful. thanks for the video.😍

  • @md.abbassiddiq6316
    @md.abbassiddiq6316 2 ปีที่แล้ว +3

    Helpful 😊

  • @malchik694
    @malchik694 ปีที่แล้ว

    thank you very mach man. you were real help me.

  • @chanlee5310
    @chanlee5310 2 ปีที่แล้ว

    Thanks man really worked

  • @developerkamrul10
    @developerkamrul10 2 ปีที่แล้ว +1

    very helpful. Thanks Ali Hossain vai

  • @skateboarding2800
    @skateboarding2800 2 ปีที่แล้ว +29

    I'm still getting - Server is Started at port : 5500 but still not open the chrome. What should I do?

    • @anujchauhan4936
      @anujchauhan4936 2 ปีที่แล้ว +1

      @Skate Boarding Did you got solution of this problem?

    • @skateboarding2800
      @skateboarding2800 2 ปีที่แล้ว

      @@anujchauhan4936 I deleted, reinstalled VS Code and all extensions like Live Server and restarted my laptop. My live server finally reconnected - but for some reason, usually at night, chrome will not connect through live server to the port. When I reset my comptuter, it re-connects with no issues. I've been using public wifi in a hotel, so I'm not sure if it's just the internet connection.

    • @garenaunofficial7799
      @garenaunofficial7799 ปีที่แล้ว +2

      @@skateboarding2800 no broh I am also facing same problem........it show the port 5500 but web pade doesn't come

    • @gopalkumaryadav6613
      @gopalkumaryadav6613 ปีที่แล้ว

      Bro please help same problem

    • @gopalkumaryadav6613
      @gopalkumaryadav6613 ปีที่แล้ว

      How to fix this problem

  • @kehindeolajuwon5399
    @kehindeolajuwon5399 6 หลายเดือนก่อน

    Thanks bro you are a live saver

  • @leannec6821
    @leannec6821 2 ปีที่แล้ว

    Thank you! It helps!

  • @tjrcuram7015
    @tjrcuram7015 2 ปีที่แล้ว +4

    Great video!
    However, I still have a problem. When I open live server through the correct html file, it opens fine. But when I click on the file, it downloads instead of becoming the local server. Can you help?

    • @learningstuff5679
      @learningstuff5679 2 ปีที่แล้ว

      I know right? Why did he ask us to leave a comment if he has no intention of helping us out??

  • @NandiniKumari-v4v
    @NandiniKumari-v4v 4 หลายเดือนก่อน +2

    Still not working

  • @GlobalContentThatWeNeed
    @GlobalContentThatWeNeed 2 ปีที่แล้ว

    Many thanks!

  • @sanjayagharkar6421
    @sanjayagharkar6421 ปีที่แล้ว

    thanks bro you sloved my problem

  • @aksharnavapara2135
    @aksharnavapara2135 2 ปีที่แล้ว

    "ENOENT: no such file or directory, open" this problem show in vs code live server and not working live server

  • @anchinchore
    @anchinchore 2 ปีที่แล้ว

    Thanks a lot this video helped me 😊😊😊😊

  • @24KONMINDSET
    @24KONMINDSET 8 หลายเดือนก่อน

    Thanks a lot!

  • @HeshanGoonawardena
    @HeshanGoonawardena 7 หลายเดือนก่อน

    I get a different issue when I try to open a .PHP file. It tries to download the source file instead of displaying on the browser
    console.error('Upgrade your browser. This Browser is NOT supported WebSocket for Live-Reloading.');

  • @michaelallison798
    @michaelallison798 2 ปีที่แล้ว

    Thanks Ali!

  • @dilshadurrahman4248
    @dilshadurrahman4248 2 ปีที่แล้ว +1

    Thanks man, this helped :D

  • @abiolasamuel9760
    @abiolasamuel9760 2 ปีที่แล้ว +1

    Any time I click go live at the right bottom corner it doesn't run the code it says "🚫port 5500" all the time
    What do I do

  • @vggaming0077
    @vggaming0077 2 ปีที่แล้ว

    thank you bro, it works ... i think steps 6 is more effective

  • @glorialucy3290
    @glorialucy3290 3 หลายเดือนก่อน

    thanks so much. so helpful

  • @gam_s
    @gam_s ปีที่แล้ว

    Thank you bro!

  • @shivamkakkar4779
    @shivamkakkar4779 ปีที่แล้ว

    I created the folder, added the file in the folder, and try running with it. Doesn't work. Please help

  • @roksanaparvin8826
    @roksanaparvin8826 2 ปีที่แล้ว

    thanks, brother. it's really help me

  • @drino955jug3
    @drino955jug3 2 ปีที่แล้ว

    The problem was the wrong folder name, I think. Thanks a lot!

  • @MdImran-gb9ce
    @MdImran-gb9ce 2 ปีที่แล้ว

    Great video! and Thanks.

  • @adenircamargo713
    @adenircamargo713 3 หลายเดือนก่อน

    Could you help me, please. All the steps you mentioned, I followed and are fine. The browser (Chrome) open a page with a different IP address than 127.0.0.1 followed by a different port as well. Any advice?

  • @FactVault-1th
    @FactVault-1th 6 หลายเดือนก่อน

    my html codes are applying but my style.css codes are not applying at live server

  • @samuelmwangi3962
    @samuelmwangi3962 ปีที่แล้ว

    thanks for your explanation

  • @samibdm6822
    @samibdm6822 8 หลายเดือนก่อน

    I realy need it thanks a lot

  • @angquang1264
    @angquang1264 2 ปีที่แล้ว

    This video is really helpful, I fixed it in 5 minutes, thank you very much ❤

  • @ritasilva1437
    @ritasilva1437 ปีที่แล้ว

    finally!!!! thank u so so much

  • @mdsabbirhosen6843
    @mdsabbirhosen6843 ปีที่แล้ว

    Thank you so much

  • @divyanshsingh2831
    @divyanshsingh2831 2 ปีที่แล้ว +1

    sir its show that Server is Started at port : 5500 but still not open the chrome. What should I do?

  • @mohammademon179
    @mohammademon179 2 ปีที่แล้ว

    Assalamualaikum Vai, thanks for published your important video content.
    apnar webcam amon transition kon software use kore korwsen?
    Or kon editor use koresen. Kindly janaben ki?

    • @shovoalways
      @shovoalways  2 ปีที่แล้ว +1

      Camtatia, premear pro, I use both at a time.

    • @mohammademon179
      @mohammademon179 2 ปีที่แล้ว

      @@shovoalways 😍😍😍

  • @pritamroycreativecommons8724
    @pritamroycreativecommons8724 7 หลายเดือนก่อน

    everytime i click go live on vs code why does is it opening a different web page? can you help me?

  • @kavitabisht6494
    @kavitabisht6494 2 ปีที่แล้ว +2

    Sir when I am clicking on GO LIVE Microsoft edge is opening
    But it is showing( cannot get /index.html/

  • @JUNAEDKHAN-lu3xo
    @JUNAEDKHAN-lu3xo ปีที่แล้ว

    Thank you so much sir.

  • @suvamsatpati471
    @suvamsatpati471 ปีที่แล้ว

    thank you sir. the problem is solved.👍

  • @erfansaadati5452
    @erfansaadati5452 หลายเดือนก่อน

    There is no problem with vscode ,
    But I need to refresh Chrome to see the changes