Windows 10: VS Code HTML/JS localhost access under Win10

Discus and support VS Code HTML/JS localhost access under Win10 in Windows 10 Software and Apps to solve the problem; Having enabled IIS Web Management Tools and World Wide Web Services in Control Panel, 'Launch Chrome against localhost' opens a dedicated Chrome... Discussion in 'Windows 10 Software and Apps' started by HughWylie, Oct 19, 2020.

  1. HughWylie Win User

    VS Code HTML/JS localhost access under Win10


    Having enabled IIS Web Management Tools and World Wide Web Services in Control Panel, 'Launch Chrome against localhost'

    opens a dedicated Chrome window with annunciation 'This site can't be reached' localhost:8080, as per launch.json url property value, i.e. no change in behaviour since enabling IIS.


    Starting the elementary app with Live Server produces the expected output, but prevents use of VS Code debugging features.


    What do I overlook?


    No AVG firewall block events are logged, while pinging localhost / 127.0.0.1 responds as expected. Removing the port 8080 specification from launch.json url property value i.e. "url": "http://localhost" opens MS IIS welcome screen.

    :)
     
    HughWylie, Oct 19, 2020
    #1

  2. Access localhost from another computer

    Localhost, as the name suggests, points at the localhost. Use the hostname or IP from your computer on their PC's. ie something in the 192.168.x.x or 10.0.0.x range most likely.
     
    DanTheBanjoman, Oct 19, 2020
    #2
  3. Localhost ERR_CONNECTION_REFUSED

    So I'm trying to load my localhost file. I am guilty of modifying my host file I was wondering if anyone could tell me if any of the following could be the issue.

    I do not have XAMPP or WAMP installed. I am trying to use Visual Studio Code to load a simple webpage (which is only using js and html) so I don't really want to install more software unless I need to.

    Also if anyone can suggest other way of how I might go about finding what is the cause that would be appreciated.

    Other details:

    • OS: Windows 10: Version 10.0.14393 Build 14393
    • Browsers: Chrome Version 56.0.2924.87 (64-bit) & possibly Edge (I haven't tried others)
     
    Gideon Sassoon, Oct 19, 2020
    #3
  4. VS Code HTML/JS localhost access under Win10

    Access localhost from another computer

    I said I know the difference that localhost refers to that particular machine you are running. Your question is invalid *Smile VS Code HTML/JS localhost access under Win10 :)

    No Offense.

    I asked this question because the other Computer weren't getting access to the IP as it was blocked on the system running XAMPP as point out by streetfighter 2, which I totally forgot.
     
    smartali89, Oct 19, 2020
    #4
Thema:

VS Code HTML/JS localhost access under Win10

Loading...
  1. VS Code HTML/JS localhost access under Win10 - Similar Threads - Code HTML localhost

  2. HTML search in Microsoft Edge vs. HTML search in Internet Explorer

    in Windows 10 Gaming
    HTML search in Microsoft Edge vs. HTML search in Internet Explorer: Hello Team,My document has around 5000 pages. It is a huge document and a product user guide. The document format is HTML.Previously, when I used Internet Explorer to open this HTML format, the search functionality was working fine. If I search with a keyword, I would get a...
  3. HTML search in Microsoft Edge vs. HTML search in Internet Explorer

    in Windows 10 Software and Apps
    HTML search in Microsoft Edge vs. HTML search in Internet Explorer: Hello Team,My document has around 5000 pages. It is a huge document and a product user guide. The document format is HTML.Previously, when I used Internet Explorer to open this HTML format, the search functionality was working fine. If I search with a keyword, I would get a...
  4. HTML search in Microsoft Edge vs. HTML search in Internet Explorer

    in Windows 10 BSOD Crashes and Debugging
    HTML search in Microsoft Edge vs. HTML search in Internet Explorer: Hello Team,My document has around 5000 pages. It is a huge document and a product user guide. The document format is HTML.Previously, when I used Internet Explorer to open this HTML format, the search functionality was working fine. If I search with a keyword, I would get a...
  5. VS code

    in Windows 10 Gaming
    VS code: how can i fix this? ive already tried solutions from comments from other people who were having the same problem, but it just doesn't work for me. I would really appreciate any help. Im also doing "C" as in the coding language....
  6. VS code

    in Windows 10 Software and Apps
    VS code: how can i fix this? ive already tried solutions from comments from other people who were having the same problem, but it just doesn't work for me. I would really appreciate any help. Im also doing "C" as in the coding language....
  7. emails/ HTML code

    in Windows 10 Gaming
    emails/ HTML code: Why are my emails, from known recipients, written in html code? How can I change it? https://answers.microsoft.com/en-us/windows/forum/all/emails-html-code/49ecc3a7-049e-4487-b2bc-baca5c9ef086
  8. emails/ HTML code

    in Windows 10 Software and Apps
    emails/ HTML code: Why are my emails, from known recipients, written in html code? How can I change it? https://answers.microsoft.com/en-us/windows/forum/all/emails-html-code/49ecc3a7-049e-4487-b2bc-baca5c9ef086
  9. how to code html document

    in Windows 10 Software and Apps
    how to code html document: I have an image that is an html document and I want to know how to use it as '<img src="this image. ".
  10. LocalHost under window's 10

    in Windows 10 Network and Sharing
    LocalHost under window's 10: I put ip 127.0.0.1 to create folder localhost. It seem does functions. How I be able to put file in localhost. https://answers.microsoft.com/en-us/windows/forum/all/localhost-under-windows-10/8ef151da-9dca-49f3-ac31-1bfb2b098b6e"