localhost refused to connect | VS code error for HTML

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 280

  • @neuromencer0000
    @neuromencer0000 2 года назад +45

    THANK YOU SO SO MUCH!!!!!!!! I am a beginner, and I was so stressed out when I realized VScode is not working. You are a savior! Thank you!

  • @lukemoorhouse-bh5vs
    @lukemoorhouse-bh5vs Год назад +5

    I just had this issue and this solved it. Thanks man I appreciate you.
    Add this to your launch.JSON file. Save and try again
    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "Open index.html",
    "request": "launch",
    "type": "chrome",
    "file": "${file}"
    }
    ]
    }

  • @sweetychallagolla7575
    @sweetychallagolla7575 3 года назад +18

    Finally, It's working. I am worried about this problem for many days. Thank you so much.

  • @abisaigarcia3273
    @abisaigarcia3273 Год назад +1

    there are many ways to relieve a headache, aspirin and your videos. thank you so much

  • @allstartv282k
    @allstartv282k 8 месяцев назад

    Thank you so much brother! I will be honest with you I watched 3 videos before I landed on this video. Only this video helped me and none of the other videos worked for me. I really appreciate this video. Keep up the good work. Bless up!

  • @anjalikothari9152
    @anjalikothari9152 2 года назад +2

    OMG. 3rd solution is working for all files .
    Thank you 🌸🙏

  • @syedmohammadsuhaib8980
    @syedmohammadsuhaib8980 Год назад +22

    The very moment I faced this problem, the 1st thought into my mind was its gonna waste an hour atleast along some lents but you saved me. Thanks a lot

  • @muhammadaimanmustakim6706
    @muhammadaimanmustakim6706 2 года назад +3

    Tq..the third solution really help me🥺i almost crying doing my assignment.

  • @Ravikataria
    @Ravikataria 10 месяцев назад

    Thank you!! Literally could not find a solution to this issue anywhere.

  • @GoogleAccount-fo9hp
    @GoogleAccount-fo9hp 2 года назад +2

    At 1:37-1:38, the instruction is, "Copy everything from mine."
    All of the info that was there prior, cuts to a new list of info. How did you get to that step? Why was it cut out of the tutorial? I can type everything I see, but why not include you typing it in or however else you added it and in that order?

  • @krushibensutariya5815
    @krushibensutariya5815 10 месяцев назад

    Thank you! After watching numerous videos, I finally found a solution. 😊😊😊😊😊

  • @cezardiaconu5820
    @cezardiaconu5820 2 года назад +1

    Huge Thanks.... I was so frustrated with my university project ( beginner here )

  • @ketanyadav386
    @ketanyadav386 Год назад

    To be very Honest, the last solution worked.
    And Thank you for the help... I have been looking for this from a long time.

  • @_creative_kannadthi_
    @_creative_kannadthi_ 6 месяцев назад

    2hr completed wasted for solving this problem after i have watched your video its worked within 5 mins
    Thank you so much ♥️

  • @mohisblessed662
    @mohisblessed662 2 года назад +1

    First solution worked for me, thank you!

  • @aryankepranks4692
    @aryankepranks4692 Год назад

    thank you so much third one worked for me. whoever is not finding .vscode file should type .vscode and delete all files of vs code written in this px column

  • @gururajaraghavendrarao3362
    @gururajaraghavendrarao3362 Год назад +1

    Thank very much. it worked for me. Awesome

  • @rittiksheikh1130
    @rittiksheikh1130 2 года назад

    Thanks man.....
    it worked
    viewers all you have to do is just delete your vs.code file...
    and run your code properly ...if it works just hit the like button...

  • @Meta_20_
    @Meta_20_ Год назад

    Oh my god thank you I was freaking out because my project is due soon and I suddenly wasn't able to run my code thank you so much

  • @phupin6406
    @phupin6406 Год назад +1

    Finally, it's working thanks you so much for this video. It's really helpful for beginners.

  • @jessicadornelassilva1794
    @jessicadornelassilva1794 2 года назад +1

    I love you Indian channel I love you! Saved me once again 🥰

  • @Toiletstain1
    @Toiletstain1 2 года назад +3

    Amazing tutorial friend! The second one worked like a charm.

  • @MinalKangude
    @MinalKangude Месяц назад

    Finally......🎉
    Thank uhhh so much❤
    3 days I trying this but still it wont worked
    Now Bcoz of you it's working ❤

  • @pavan7128
    @pavan7128 Год назад

    thanks a lot brother i had just finished a beautiful project and then this error shows up out of nowhere abd u helped me with it thanks a lot

  • @SpiderMan-fv9ep
    @SpiderMan-fv9ep Год назад +2

    Last section is really worked 🔥🤩

  • @snehalkpatil3360
    @snehalkpatil3360 Год назад

    Ur the great savior....really led my way ahead....thankuh very much....bless uh...😊

  • @konseigu
    @konseigu Год назад

    thank you so much man I was figuring this out for LITERALLY AN hour thought I made some big mistake :D

  • @r.anim_234
    @r.anim_234 2 года назад +1

    It's working, it solves my problem using the second solution 😍👏

  • @rz_rafifmusyaffa
    @rz_rafifmusyaffa 2 года назад +1

    Thank you so much brooo, you,re saving my world

  • @Artur-wj5yn
    @Artur-wj5yn 3 года назад +4

    You just solved my issue in 15 sec with intro XD

  • @loysweelim456
    @loysweelim456 2 года назад +2

    Good job! Keep it up! It solves my problem using the final solution.

  • @bard2x
    @bard2x Год назад +7

    Thanks, bro. You're like my life saver for this.

  • @schokodonertv301
    @schokodonertv301 2 года назад +1

    Thanks third Step worked! An alle die Folgen ich musste die letzte Lösung nehmen aber es hilft ;D!

  • @vijayb2124
    @vijayb2124 Год назад

    My Process Has Been Slow Downed For 2 Days After VS Code Not Working...Thanks For Making This Video.

  • @Christianchinemelum
    @Christianchinemelum Год назад +1

    Thank you so much, the last one worked for me

  • @DarkspineNero
    @DarkspineNero 2 года назад +1

    Thank you so much for this. The third solution worked perfectly.

  • @davestorm6718
    @davestorm6718 2 года назад +2

    Why does localhost no longer work (it's been working for years!!!)? That should be the question we should all be asking? So, the answer is to just launch from the file path directly, instead? That's a kludge if I've ever seen one!

    • @nikeshdhakal5547
      @nikeshdhakal5547  2 года назад +1

      That's very good question. But my best answer is this video target beginners mistake. There are many reasons why localhost doesn't work. And I will be making on that. But sorry if it doesn't help. It is simple solution targeted for every beginners.

  • @maribelek28
    @maribelek28 7 месяцев назад

    thank you so much dear! it's really helped me and i had so stressed with that refused localhost problem. yeah finally i ve solved thank you .its great videofrom you!

  • @anantjain9679
    @anantjain9679 2 года назад +1

    mine is working fine , but my problem is when i saved it from VS code, then its not updated automatically in chrome browser. i have to refresh the local host webpage by mouse click every time for updated the page

  • @lucafiorentini3396
    @lucafiorentini3396 2 года назад +1

    thank you so, so so so so so so so so so much for this tutorial, I was becoming crazy thanks to this bug, but the third solution worked for me!

  • @backpack833
    @backpack833 Год назад

    Thanks. Last one worked for me. Odd how I was never taught this in my coding class

  • @wednesdayfilm0
    @wednesdayfilm0 Год назад +1

    Bro thx too much it helped me a lot you are really a savior

  • @wragabrr
    @wragabrr Год назад

    deleting the .vs folder did the job. but I had to delete it also in the file-sidebar of visual code. thank you.

  • @wooblebably2143
    @wooblebably2143 2 года назад +1

    Loved it!!! Thanks for this! last step is working!!

  • @HermitCai0
    @HermitCai0 2 года назад

    the deletion of .vscode file worked for me. Thank bro

  • @rishavsaha8794
    @rishavsaha8794 Год назад

    3rd Option works. Thanks man!

  • @jeicohen
    @jeicohen 2 года назад +34

    The third solution is the best and I think you probably solved a problem most beginners do not know how to handle.
    I liked your video. The third solution can be seen at 2:08

    • @bridgetevavoawe3807
      @bridgetevavoawe3807 2 года назад +2

      @Jei cohen
      How did you find the .vscode file

    • @bridgetevavoawe3807
      @bridgetevavoawe3807 2 года назад +1

      It's not in mine

    • @timotheemaniquet8428
      @timotheemaniquet8428 2 года назад +1

      Same for me, it worked perfectly. For Mac users, note that .vscode will be hidden in Finder; you can access it and remove it through the Terminal.

  • @josepholuwatobi7698
    @josepholuwatobi7698 2 года назад +1

    Big thanks to you.
    You help me solve the issue on my laptop

  • @_wsduru
    @_wsduru 8 месяцев назад

    deleting the vscode file worked
    thank you! 2:53

  • @JyothiD-ux8us
    @JyothiD-ux8us 5 месяцев назад +1

    Thank you sooo much!!!!!! it's working now.

  • @khajasaifancm6128
    @khajasaifancm6128 Год назад

    Deleting VScode worked for me.. Thanks✌

  • @musfiqurjahin
    @musfiqurjahin 2 месяца назад

    Thank you☺
    the 2nd way was worked for me!
    Edit:
    now the new problem is created,,,the same file is runnning whenever I try to run another one😐

  • @FightingMangoEdits
    @FightingMangoEdits 4 месяца назад

    Thank you so much, the last one is gold😃

  • @ssublexff3465
    @ssublexff3465 Год назад +1

    Thanks VS code can be a nightmare sometimes🎯

  • @anushkayadav8443
    @anushkayadav8443 4 месяца назад

    Last one worked..thank you so much

  • @stephanykleen
    @stephanykleen Год назад

    I really appreciate the solutions, but i am confused why my projects save with a file path and not just a locahost url? what's the difference and how is it that gets configured that way?

  • @rananoumanmuhammadafzal5486
    @rananoumanmuhammadafzal5486 2 года назад

    second solution sole my problem thanks for making this video Allah bless you 😘

  • @RiganMiah-se4sq
    @RiganMiah-se4sq Год назад

    Thank you sir.. Its Working For Me ❤️❤️ I Hope It Will Work For All ❤️❤️

  • @ZanderzMcCluer
    @ZanderzMcCluer Год назад +1

    Thank you very much for all of your help! This helped me a lot for a project I've been working on!

  • @deathreaper8243
    @deathreaper8243 Год назад

    thank you alot i was learning full stack with html so it was painfull but thank's to it got fixed

  • @rachelvanderlely6324
    @rachelvanderlely6324 Год назад +2

    THANK YOU SO MUCH!! I was missing my file name!

  • @Zwei__
    @Zwei__ Месяц назад

    You deserve a thumbs up mah boii!!

  • @DmitryPushkashu
    @DmitryPushkashu Год назад +1

    Thank you, it is really helped.

  • @nagendrabommireddi8437
    @nagendrabommireddi8437 2 года назад

    Could you please help me .....in blue line below iam not able to switch to kotlin ..and debugging same problem

  • @dewanganskitchen1117
    @dewanganskitchen1117 2 года назад

    Getting DOCTYPE html in api response how to resolve

  • @YashrajThakor06
    @YashrajThakor06 Год назад +1

    which json extension you use?

  • @mayurchinche3319
    @mayurchinche3319 Год назад +1

    Absolutely fantastic,
    Thank's a ton

  • @antoniuss9502
    @antoniuss9502 Год назад

    THANK YOU OH MY LORD. START FROM 2.08 AND EVERYTHING CAN BE SOLVED. HOLOLOLOLOOOO

  • @tperm9718
    @tperm9718 2 года назад

    Thank you so much. I hope you have the best life ever!!!!!!

  • @emmanueluka8698
    @emmanueluka8698 2 года назад +1

    Thank you so much the third one worked for me

  • @yakshasree6841
    @yakshasree6841 3 года назад +3

    Thank you so much finally it came... 🥺😍

  • @jacobbeaudin6480
    @jacobbeaudin6480 Год назад +1

    You are a lifesaver

  • @nicumirs253
    @nicumirs253 2 года назад +1

    It works, Thanks a lot!

  • @nehasahani5262
    @nehasahani5262 Год назад

    Last one really worked...but I wonder how the second one does the job...why we r including index . html..?

  • @GabrielaGabi-z8s
    @GabrielaGabi-z8s 10 месяцев назад

    Thank you soo soo much!
    I m begginer and the second option works for me

  • @superplushbrosm5
    @superplushbrosm5 Год назад

    this man needs a nobel peace prize

  • @googoo9486
    @googoo9486 11 месяцев назад

    great video. Would you be able to do one about running the code on the liver server as I have tried all suggested solutions and nothing has worked so far..

  • @Joseane_Oliveira
    @Joseane_Oliveira 3 года назад +2

    wow this video saved me.
    thank you

  • @jessicadornelassilva1794
    @jessicadornelassilva1794 2 года назад

    Thanks to you I could solve the problem

  • @webbbolstad2116
    @webbbolstad2116 2 года назад +2

    Thank you, sir! Very helpful video!!

  • @SunitaAwana-hv2qq
    @SunitaAwana-hv2qq Год назад +1

    My still not work 😢😢

  • @Lupitagrg_ma
    @Lupitagrg_ma 2 года назад +1

    me funciono la solución numero 3, muchas gracias♥

  • @hgbullet2415
    @hgbullet2415 Год назад +2

    Thank you so much!!! You really helped me...
    👊

  • @shubhangimahajan5089
    @shubhangimahajan5089 Год назад

    Thank you very much. It really helpful for me to resolve the error 😊👍

  • @kalabanki4865
    @kalabanki4865 Год назад

    Thanks i solve my problem by using last method

  • @gooffball9758
    @gooffball9758 Год назад +1

    still dont work

  • @ahmadkouis2748
    @ahmadkouis2748 2 года назад

    thank you bro , the third solution worked for me

  • @boom-yx7vs
    @boom-yx7vs 2 года назад +2

    Thank you for your content ,this is so much help❤🙏

  • @grandterplays3137
    @grandterplays3137 Год назад

    thank you so much for helping my problem bro:)

  • @venom-u
    @venom-u 2 месяца назад

    Hey I have some doubt, can anyone clear it third way is we are entering the path . So we need to change the file name everytime when we run different html file . Is there anyother way

  • @manuel3537
    @manuel3537 Год назад

    so, when other poeple try to run, is gonna work or not? cuz it's my personal route and user...

  • @SrTelis
    @SrTelis 2 года назад

    You're amazing bro, tysm

  • @galbraithmacedadejito8479
    @galbraithmacedadejito8479 2 года назад

    hey man my problem is when i try to run it just says "check if there is a typo" even though its just a simple "hello" and thats all

    • @divinewrld5955
      @divinewrld5955 2 года назад

      Did you got solution

    • @divinewrld5955
      @divinewrld5955 2 года назад

      I also have the same problem site can't be reached
      Check if there is a typo in (file name)

  • @ItizPieTime
    @ItizPieTime 2 года назад +1

    Thanks x1000 wonderful video

  • @pawanpatel4338
    @pawanpatel4338 2 года назад

    the second solution is good for me thank you so much bro

  • @khadijabasit5997
    @khadijabasit5997 2 года назад

    from where i can access .vscode file in my windows

  • @kaushall3706
    @kaushall3706 2 года назад +1

    Tq it was so helpful 🙌👏

  • @hopkinsgift2292
    @hopkinsgift2292 Год назад

    What if you want to run a multiple file

  • @makzn77
    @makzn77 Год назад

    Thank so much, solved my problem

  • @ptn_25
    @ptn_25 2 года назад +1

    Thank you so much! It's work!