Why can't I access localhost any more?

Page 1 of 2 12 LastLast

  1. Posts : 220
    Windows 10
       #1

    Why can't I access localhost any more?


    I am unable to connect to localhost:3000 in any of the four browsers I've tried, including current versions of Chrome, Bravo, Edge and Opera. I inevitably get the message:

    localhost refused to connect.
    The other relevant bit of the message is: ERR_CONNECTION_REFUSED

    I created a Vuetify 3 app using Vue 3 and the current version of VS Code. There were no errors from creating the app. Executing http://localhost:3000 is supposed to make the default splash screen display in Chrome but, instead, I get the error message I mentioned above.

    I'm running Windows 10 Home, version 22H2. I've used localhost successfully many times over several years on this same laptop so I'm baffled about what could be wrong.

    I don't see any reason why this would be relevant but the timing is suspicious. Yesterday, I had an issue yesterday with copy and paste in Windows: CTRL-C simply wouldn't copy anything to the clipboard. I eventually resolved that by running sfc /scannow. Its report indicated that it had fixed some corrupted files. Is there any chance that this somehow messed up localhost (or that the issue which corrupted the clipboard also impacted localhost somehow)?

    Can anyone suggest a solution?
      My Computer


  2. Posts : 776
    Windows 7
       #2

    You can't break localhost, it's hard-coded into the TCP stack.

    ERR_CONNECTION_REFUSED on localhost:3000 indicates your server app isn't taking requests. Possibly it's not running, it's broken, or a firewall has blocked access to that connection.

    If you have another local PC, install the same Vuetify app on that machine and try connecting to it remotely. This will inform you whether the app is broken, or something's wrong with your local PC. Localhost is always a shorthand for your PC, but a number of network services have to be running in order to answer port requests.
      My Computer


  3. Posts : 8,111
    windows 10
       #3

    Local host doesn't exist unless it's in the host file as a variable it should point to 127.0.0.1 can you get it by ip
      My Computer


  4. Posts : 220
    Windows 10
    Thread Starter
       #4

    Samuria said:
    Local host doesn't exist unless it's in the host file as a variable it should point to 127.0.0.1 can you get it by ip
    I was wondering if the hosts file could have something to do with the problem so I searched my system for it because I couldn't remember the precise name or path. It turns out that my computer has MANY different files with "hosts" as either the complete name or part of the name, often with extensions, sometimes not. I've posted the list below. Do you have any idea which of these is the one that could be messing me up and what, precisely, I need to have in the correct file to make localhost work?

    Filename,Size,Date Modified,Date Created,Attributes
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.75.256.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\wephostsvc.dll.mui",14376,133554456104779163,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.75.256.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\hvhostsvc.dll.mui",111648,133554455888103873,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.75.253.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\wephostsvc.dll.mui",14368,133554454558419233,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.75.253.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\hvhostsvc.dll.mui",110624,133554454202960346,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f\r\winrtnetmuahostserver.exe",695,1 33543225040000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f\f\winrtnetmuahostserver.exe",766,1 33543224880000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657\r\aphostservice.dll",4868,13354 3224820000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657\f\aphostservice.dll",5176,13354 3224660000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\wow64_microso ft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a\r\winrtnetmuahostserver.exe",488,1 33543215100000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\wow64_microso ft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a\f\winrtnetmuahostserver.exe",551,1 33543214940000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-m..oolsclient.appxmain_31bf3856ad364e35_10.0.19041.3636_none_3473be4cdeacc98a\r\pluginhostshim.bundl e.js",50,133543194580000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-m..oolsclient.appxmain_31bf3856ad364e35_10.0.19041.3636_none_3473be4cdeacc98a\f\pluginhostshim.bundl e.js",50,133543194580000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\wow64_microso ft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a.manifest",2851,133543009800000000, ,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f.manifest",4146,133543009760000000, ,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657.manifest",3992,1335430097400000 00,,0
    "C:\Users\Reinh\.ssh\known_hosts",92,133517384873288031,,0
    "C:\Users\Reinh\AppData\Roaming\npm\node_modules\npm-check-updates\node_modules\npm-package-arg\node_modules\hosted-git-info\lib\hosts.js",9036,133517263079983089,,0
    "C:\Users\Reinh\AppData\Roaming\npm\node_modules\npm-check-updates\node_modules\normalize-package-data\node_modules\hosted-git-info\lib\hosts.js",9036,133517263066423629,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-m..oolsclient.appxmain_31bf3856ad364e35_10.0.19041.3636_none_3473be4cdeacc98a\r\pluginhostshim.bundl e.js",50,133513571820000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-m..oolsclient.appxmain_31bf3856ad364e35_10.0.19041.3636_none_3473be4cdeacc98a\f\pluginhostshim.bundl e.js",50,133513571820000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\wow64_micros oft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a\r\winrtnetmuahostserver.exe",488,1 33513525660000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\wow64_micros oft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a\f\winrtnetmuahostserver.exe",551,1 33513525620000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f\r\winrtnetmuahostserver.exe",695,1 33513334740000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f\f\winrtnetmuahostserver.exe",766,1 33513334720000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657\r\aphostservice.dll",4868,13351 3334540000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657\f\aphostservice.dll",5176,13351 3334540000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\wow64_micros oft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a.manifest",2851,133513291300000000, ,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f.manifest",4146,133513291180000000, ,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657.manifest",3992,1335132911800000 00,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.69.237.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\wephostsvc.dll.mui",14384,133446222056705015,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.69.234.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\wephostsvc.dll.mui",14264,133446221982702110,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.69.237.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\hvhostsvc.dll.mui",111664,133446221441987202,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.69.234.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\hvhostsvc.dll.mui",110528,133446221375596663,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657\APHostService.dll",351232,13344 4864995276435,,0
    "C:\Windows\System32\APHostService.dll",351232,133444864995276435,,0
    "C:\Windows\WinSxS\wow64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a\WinRTNetMUAHostServer.exe",16896,1 33444850922249890,,0
    "C:\Windows\SysWOW64\WinRTNetMUAHostServer.exe",16896,133444850922249890,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f\WinRTNetMUAHostServer.exe",20480,1 33444838723718394,,0
    "C:\Windows\System32\WinRTNetMUAHostServer.exe",20480,133444838723718394,,0
    "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f.manifest",673,133444807752678300,, 0
    "C:\Windows\WinSxS\Manifests\wow64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a.manifest",454,133444806182756887,, 0
    "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657.manifest",534,13344480609761973 2,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f\r\WinRTNetMUAHostServer.exe",695,1 33440162780000000,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f\f\WinRTNetMUAHostServer.exe",766,1 33440162780000000,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657\r\APHostService.dll",4868,13344 0162540000000,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657\f\APHostService.dll",5176,13344 0162540000000,,0
    "C:\Windows\WinSxS\wow64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a\r\WinRTNetMUAHostServer.exe",488,1 33440084180000000,,0
    "C:\Windows\WinSxS\wow64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a\f\WinRTNetMUAHostServer.exe",551,1 33440084020000000,,0
    "C:\Users\Reinh\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\@akryum\winattr\lib\shell\hos tscript.js",896,133394600169612520,,0
    "C:\Users\Reinh\AppData\Roaming\npm\node_modules\npm\node_modules\hosted-git-info\lib\hosts.js",9036,133394597418020641,,0
    "C:\Windows\System32\drivers\etc\hosts",1037,133394325013865954,,0
    "C:\Windows\System32\drivers\etc\hosts.ics",443,133376370558552120,,0
    "C:\Program Files\nodejs\node_modules\npm\node_modules\hosted-git-info\lib\hosts.js",9264,133360233880000000,,0
    "C:\Program Files\Git\usr\share\vim\vim90\syntax\hostsaccess.vim",549,133337649340000000,,0
    "C:\Program Files\Git\usr\share\vim\vim90\syntax\denyhosts.vim",7365,133337649340000000,,0
    "C:\Program Files\Git\usr\share\vim\vim90\ftplugin\hostsaccess.vim",436,133337649320000000,,0
    "C:\Program Files\Git\usr\share\vim\vim90\ftplugin\denyhosts.vim",383,133337649320000000,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.59.190.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\wephostsvc.dll.mui",14216,133263136722554274,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.59.193.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\wephostsvc.dll.mui",14272,133263136704925363,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.59.190.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\hvhostsvc.dll.mui",110512,133263136312490494,,0
    "C:\Laravel\voyago02\vendor\laravel\framework\src\Illuminate\Http\Middleware\TrustHosts.php",1700,13 3218505327128815,,0
    "C:\Laravel\LaraVue_CRUD02\vendor\laravel\framework\src\Illuminate\Http\Middleware\TrustHosts.php",1 700,133169054421493505,,0
    "C:\Laravel\larticles\vendor\laravel\framework\src\Illuminate\Http\Middleware\TrustHosts.php",1700,1 33161250660000000,,0
    "C:\Laravel\CRUD_Showcase\vendor\laravel\framework\src\Illuminate\Http\Middleware\TrustHosts.php",17 00,133161250660000000,,0
    "C:\Laravel\voyago02\app\Http\Middleware\TrustHosts.php",372,133159449070000000,,0
    "C:\Program Files\Git\etc\hosts",1037,133153335832717598,,0
    "C:\Laravel\blog\vendor\laravel\framework\src\Illuminate\Http\Middleware\TrustHosts.php",1695,133149 869350000000,,0
    "C:\Laravel\laragigs\vendor\laravel\framework\src\Illuminate\Http\Middleware\TrustHosts.php",1700,13 3145536777413229,,0
    "C:\Laravel\laragigs\app\Http\Middleware\TrustHosts.php",372,133135287820000000,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.51.159.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\wephostsvc.dll.mui",14256,133081844394862973,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.51.159.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\hvhostsvc.dll.mui",110512,133081844237212986,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.51.160.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\wephostsvc.dll.mui",14248,133081843331865190,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.51.160.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\hvhostsvc.dll.mui",111536,133081842774489906,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.50.155.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\wephostsvc.dll.mui",14240,133046452734288743,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.50.156.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\wephostsvc.dll.mui",14240,133046452606431625,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.50.155.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\hvhostsvc.dll.mui",110496,133046452380501804,,0
    "C:\xampp\apache\conf\extra\httpd-vhosts.conf",1591,132978171034238636,,0
    "C:\xampp\apache\conf\original\extra\httpd-vhosts.conf",1492,132919038080000000,,0
    "C:\xampp\phpMyAdmin\examples\config.manyhosts.inc.php",2073,132890265660000000,,0
    "C:\Users\Reinh\AppData\Roaming\uTorrent\Ghosts.2021.S01.WEBRip.x265-ION265[eztv.re].torrent",24171,132876301415657244,,0
    "C:\Users\Reinh\AppData\Roaming\uTorrent\Ghosts.2021.S01E01.720p.WEB.H264-CAKES[eztv.re].mkv.torrent",20606,132876272578550171,,0
    "C:\Ruby27-x64\msys64\usr\share\man\man3\CURLOPT_SSH_KNOWNHOSTS.3.gz",1209,132633222740000000,,0
    "C:\Wamp.NET\manager\app\classes\hosts.php",1402,132594261700000000,,0
    "C:\Laravel\CRUD_Showcase\app\Http\Middleware\TrustHosts.php",354,132535070916692424,,0
    "C:\Laravel\LaraVue_CRUD02\app\Http\Middleware\TrustHosts.php",354,132516136473572926,,0
    "C:\Laravel\blog\app\Http\Middleware\TrustHosts.php",354,132511537528560683,,0
    "C:\Laravel\larticles\app\Http\Middleware\TrustHosts.php",354,132501883728143087,,0
    "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\IHostServices.js",14790,132481417285749706,,0
    "C:\System Volume Information\SystemRestore\AppxStaging\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.12.29.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\wephostsvc.dll.mui",13184,132473461188933421,,0
    "C:\System Volume Information\SystemRestore\AppxStaging\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.12.29.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\hvhostsvc.dll.mui",110472,132473460224476668,,0
    "C:\System Volume Information\SystemRestore\AppxStaging\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.12.29.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\wephostsvc.dll.mui",13192,132473459933969582,,0
    "C:\System Volume Information\SystemRestore\AppxStaging\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.12.29.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\hvhostsvc.dll.mui",109448,132473459027936652,,0
    "C:\System Volume Information\SystemRestore\AppxStaging\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.8.22.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\wephostsvc.dll.mui",13192,132418806992188201,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.8.22.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\wephostsvc.dll.mui",13192,132418806992188201,,0
    "C:\System Volume Information\SystemRestore\AppxStaging\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.8.22.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\wephostsvc.dll.mui",13192,132418806871283158,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.8.22.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\wephostsvc.dll.mui",13192,132418806871283158,,0
    "C:\System Volume Information\SystemRestore\AppxStaging\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.8.22.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\hvhostsvc.dll.mui",109448,132418806664386530,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackfr-FR_19041.8.22.0_neutral__8wekyb3d8bbwe\Windows\System32\fr-FR\hvhostsvc.dll.mui",109448,132418806664386530,,0
    "C:\System Volume Information\SystemRestore\AppxStaging\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.8.22.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\hvhostsvc.dll.mui",110464,132418806512927850,,0
    "C:\Program Files\WindowsApps\Microsoft.LanguageExperiencePackde-DE_19041.8.22.0_neutral__8wekyb3d8bbwe\Windows\System32\de-DE\hvhostsvc.dll.mui",110464,132418806512927850,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_fr-fr_65391e401625d8c1\wephostsvc.dll.mui",4096,132399289497801914,,0
    "C:\Windows\System32\fr-FR\wephostsvc.dll.mui",4096,132399289497801914,,0
    "C:\Windows\WinSxS\amd64_microsoft-hyper-v-h..t-service.resources_31bf3856ad364e35_10.0.19041.1_fr-fr_80317eaafd2e2ddd\hvhostsvc.dll.mui",100352,132399289434753244,,0
    "C:\Windows\System32\fr-FR\hvhostsvc.dll.mui",100352,132399289434753244,,0
    "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_fr-fr_65391e401625d8c1.manifest",296,132399286827690196,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_de-de_19c57564344ec4f5\wephostsvc.dll.mui",4096,132399282636451236,,0
    "C:\Windows\System32\de-DE\wephostsvc.dll.mui",4096,132399282636451236,,0
    "C:\Windows\WinSxS\amd64_microsoft-hyper-v-h..t-service.resources_31bf3856ad364e35_10.0.19041.1_de-de_34bdd5cf1b571a11\hvhostsvc.dll.mui",101376,132399282592086704,,0
    "C:\Windows\System32\de-DE\hvhostsvc.dll.mui",101376,132399282592086704,,0
    "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_de-de_19c57564344ec4f5.manifest",297,132399280016925917,,0
    "C:\Wamp.NET\manager\app\views\tools\hosts.php",763,132345008320000000,,0
    "C:\xampp\perl\vendor\lib\Net\SSH2\KnownHosts.pm",6273,132316151020000000,,0
    "C:\Windows\WinSxS\wow64_microsoft-windows-processmodel-cpt_31bf3856ad364e35_10.0.19041.1_none_6b184251474f0fac\apphostsvc.dll",59904,132201883196617473,,0
    "C:\Windows\SysWOW64\inetsrv\apphostsvc.dll",59904,132201883196617473,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-processmodel-cpt_31bf3856ad364e35_10.0.19041.1_none_60c397ff12ee4db1\apphostsvc.dll",73728,132201883147557820,,0
    "C:\Windows\System32\inetsrv\apphostsvc.dll",73728,132201883147557820,,0
    "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-aphostservice_31bf3856ad364e35_10.0.19041.1_none_3262624782d6e8b7.manifest",2049,132201859004829971, ,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_en-us_c2b64b5d232cd0ba\wephostsvc.dll.mui",4096,132201857392619191,,0
    "C:\Windows\System32\en-US\wephostsvc.dll.mui",4096,132201857392619191,,0
    "C:\Windows\WinSxS\amd64_microsoft-hyper-v-h..t-service.resources_31bf3856ad364e35_10.0.19041.1_en-us_ddaeabc80a3525d6\hvhostsvc.dll.mui",89088,132201857383844642,,0
    "C:\Windows\System32\en-US\hvhostsvc.dll.mui",89088,132201857383844642,,0
    "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_en-us_c2b64b5d232cd0ba.manifest",291,132201856993703929,,0
    "C:\Windows\System32\drivers\etc\lmhosts.sam",3683,132201835641223246,,0
    "C:\Windows\WinSxS\wow64_microsoft.dtc.powershell.scripts_31bf3856ad364e35_10.0.19041.1_none_c197fa9 7b94cfe01\MSFT_DtcAdvancedHostSettingTask_v1.0.cdxml",3268,132201833978815913,,0
    "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules\MsDtc\MSFT_DtcAdvancedHostSettingTask_v1.0.cdxml ",3268,132201833978815913,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-m..ests-onecoreuap-net_31bf3856ad364e35_10.0.19041.1_none_2938604e0119c52e\ExtensibleAuthenticationProtocolHostService-Rep.man",3019,132201833821002572,,0
    "C:\Windows\System32\migwiz\replacementmanifests\ExtensibleAuthenticationProtocolHostService-Rep.man",3019,132201833821002572,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-wephostsvc_31bf3856ad364e35_10.0.19041.1_none_627f4acf67956483\wephostsvc.dll",28672,132201833778338 903,,0
    "C:\Windows\System32\wephostsvc.dll",28672,132201833778338903,,0
    "C:\Windows\WinSxS\amd64_microsoft.dtc.powershell.scripts_31bf3856ad364e35_10.0.19041.1_none_b743504 584ec3c06\MSFT_DtcAdvancedHostSettingTask_v1.0.cdxml",3268,132201833776923563,,0
    "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\MsDtc\MSFT_DtcAdvancedHostSettingTask_v1.0.cdxml ",3268,132201833776923563,,0
    "C:\Windows\WinSxS\amd64_microsoft-hyper-v-h..rvisor-host-service_31bf3856ad364e35_10.0.19041.1_none_2246f2e6f0441379\hvhostsvc.dll",66360,132201833739275955, ,0
    "C:\Windows\System32\hvhostsvc.dll",66360,132201833739275955,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-lmhsvc_31bf3856ad364e35_10.0.19041.1_none_08b1f5ea8fb3c15e\lmhosts.sam",3683,132201833293486540,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-w..ucture-other-minwin_31bf3856ad364e35_10.0.19041.1_none_eb30aafa046f78ad\hosts",824,132201833293321117,,0
    "C:\Windows\WinSxS\amd64_microsoft-windows-m..oolsclient.appxmain_31bf3856ad364e35_10.0.19041.3636_none_3473be4cdeacc98a\pluginHostShim.bundle. js",3454,132201832907836370,,0
    "C:\Windows\SystemApps\Microsoft.MicrosoftEdgeDevToolsClient_8wekyb3d8bbwe\23\f12host\pluginHostShim .bundle.js",3454,132201832907836370,,0
    "C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-wephostsvc_31bf3856ad364e35_10.0.19041.1_none_627f4acf67956483.manifest",1148,132201831594818169,,0
    "C:\Windows\WinSxS\Manifests\amd64_hvhostsvcstats_31bf3856ad364e35_10.0.19041.1_none_b6b86facb6ccb22 1.manifest",10685,132201831572629448,,0
    "C:\mysql-connector-java-8.0.16\com\mysql\cj\conf\ConnectionUrl$HostsCardinality.class",1750,131976005120000000,,0
    "C:\mysql-connector-java-8.0.16\com\mysql\cj\conf\ConnectionUrl$HostsCardinality$3.class",754,131976005120000000,,0
    "C:\mysql-connector-java-8.0.16\com\mysql\cj\conf\ConnectionUrl$HostsCardinality$2.class",754,131976005120000000,,0
    "C:\mysql-connector-java-8.0.16\com\mysql\cj\conf\ConnectionUrl$HostsCardinality$1.class",754,131976005120000000,,0
    "C:\Users\Reinh\AppData\Local\AVAST Software\Browser\User Data\Default\Extensions\kmediagceboldddnnajkcochbkfkedel\1.16.14.270_0\assets\thirdparties\www.malwa redomainlist.com\hostslist\hosts.txt",35189,131795315600000000,,0
    "C:\Users\Reinh\AppData\Local\AVAST Software\Browser\User Data\Default\Extensions\ooeobdingfeedklanlfcjhffgennflke\1.16.14.270_0\assets\thirdparties\www.malwa redomainlist.com\hostslist\hosts.txt",35189,131795315040000000,,0
    "C:\xampp\htdocs\dashboard\docs\configure-vhosts.pdfmarks",201,131704373310000000,,0
    "C:\xampp\htdocs\dashboard\docs\configure-vhosts.pdf",103153,131704373310000000,,0
    "C:\xampp\htdocs\dashboard\docs\configure-vhosts.html",10416,131704373310000000,,0
    "C:\Users\Reinh\Pictures\Steven Pinker photos\Rebecca with ghosts in ghost town.jpg",1628641,131559515919962723,,0
    "C:\Users\Reinh\Downloads\javafx-8u131-apidocs\api\javafx\application\class-use\HostServices.html",7493,131436126451692119,,0
    "C:\Users\Reinh\Downloads\javafx-8u131-apidocs\api\javafx\application\HostServices.html",19538,131436126450498787,,0
    "C:\Users\Reinh\Desktop\Java Reference\javafx-8u131-apidocs\api\javafx\application\class-use\HostServices.html",7493,131435003601903609,,0
    "C:\Users\Reinh\Desktop\Java Reference\javafx-8u131-apidocs\api\javafx\application\HostServices.html",19538,131435003600537626,,0
    "C:\Program Files\IBM\SQLLIB\infopop\en_US\db2_390\subsystemhostselectdialogip.htm",2222,130617994560000000,,0
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f",,133549788919360805,,16
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\wow64_microso ft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a",,133549788919170809,,16
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4170.1.9\amd64_microso ft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657",,133549779575709940,,16
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f",,133523536616472988,,16
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\wow64_micros oft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a",,133523536616442995,,16
    "C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.4046.1.11\amd64_micros oft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657",,133523528405971794,,16
    "C:\Windows\WinSxS\Temp\InFlight\102a77693043da0136070000d030e05b\wow64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3570_none_4feb742491154ccf",,133493033911012551,,16
    "C:\Windows\WinSxS\Temp\InFlight\102a77693043da0136070000d030e05b\amd64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3570_none_4596c9d25cb48ad4",,133493031828917126,,16
    "C:\Windows\WinSxS\Temp\InFlight\102a77693043da0136070000d030e05b\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3570_none_c9e4f3f60330a5fc",,133493025964665847,,16
    "C:\Windows\WinSxS\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.3636_none_c9d59a32033cf657",,133444865253927278,,16
    "C:\Windows\WinSxS\wow64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4fdc1a6091219d2a",,133444851354184412,,16
    "C:\Windows\WinSxS\amd64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.3636_none_4587700e5cc0db2f",,133444838923781661,,16
    "C:\Windows\WinSxS\Temp\InFlight\1aa3ab983d17da017e0500004c42984b\wow64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.746_none_b93dce693a9c6db9",,133444707770869827,,16
    "C:\Windows\WinSxS\Temp\InFlight\1aa3ab983d17da017e0500004c42984b\amd64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.746_none_aee92417063babbe",,133444707051814377,,16
    "C:\Windows\WinSxS\Temp\InFlight\1aa3ab983d17da017e0500004c42984b\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.746_none_33374e3aacb7c6e6",,133444706367537904,,16
    "C:\xampp\htdocs\dashboard\docs\images\configure-vhosts",,132978163626633722,,16
    "C:\Program Files\GIMP 2\share\ghostscript",,132883961382978977,,16
    "C:\Windows\WinSxS\Temp\InFlight\7d42883618ffd601af020000a4a680a6\wow64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.1_none_913591207b2aaf6f",,132573724468030883,,16
    "C:\Windows\WinSxS\Temp\InFlight\7d42883618ffd601af020000a4a680a6\amd64_microsoft-windows-w..tnet-mua-hostserver_31bf3856ad364e35_10.0.19041.1_none_86e0e6ce46c9ed74",,132573724243950901,,16
    "C:\Windows\WinSxS\Temp\InFlight\7d42883618ffd601af020000a4a680a6\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.388_none_330e0786acd674bc",,132573724094040890,,16
    "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Hosts",,132481417313466146,,16
    "C:\Windows\WinSxS\Temp\InFlight\bad7fa039886d601d70300000873b472\amd64_microsoft-windows-mccs-aphostservice_31bf3856ad364e35_10.0.19041.1_none_0b2f10f1ed46089c",,132441228889080577,,16
    "C:\Windows\WinSxS\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_fr-fr_65391e401625d8c1",,132399289559193107,,16
    "C:\Windows\WinSxS\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_de-de_19c57564344ec4f5",,132399282685188976,,16
    "C:\Windows\WinSxS\amd64_microsoft-windows-wephostsvc.resources_31bf3856ad364e35_10.0.19041.1_en-us_c2b64b5d232cd0ba",,132201857396369557,,16
    "C:\Windows\WinSxS\amd64_microsoft-windows-wephostsvc_31bf3856ad364e35_10.0.19041.1_none_627f4acf67956483",,132201846666178190,,16
    "C:\Users\Reinh\AppData\Local\AVAST Software\Browser\User Data\Default\Extensions\ooeobdingfeedklanlfcjhffgennflke\1.16.14.270_0\assets\thirdparties\www.malwa redomainlist.com\hostslist",,131891478281714690,,16
    "C:\Users\Reinh\AppData\Local\AVAST Software\Browser\User Data\Default\Extensions\kmediagceboldddnnajkcochbkfkedel\1.16.14.270_0\assets\thirdparties\www.malwa redomainlist.com\hostslist",,131891477840077556,,16
      My Computer


  5. Posts : 1,211
    Windows 10
       #5

    if you don't know how to find the host file its not the problem because you edit that file manually. as mentioned local host cannot be broken you would have to do some pretty defined things to actually break it. Which means intentional.

    localhost is just loopback for your computer's ip its name resolved instead of numerical.

    Err refused will be something to do with the database or what ever it is you are doing. its not port related or anything because you are local. The application is seeing you but telling you for what ever reason that its not going to let you in.
      My Computer


  6. Posts : 8,111
    windows 10
       #6

    Host is in windows/system32/drivers/etc
      My Computer


  7. Posts : 220
    Windows 10
    Thread Starter
       #7

    Malneb said:
    if you don't know how to find the host file its not the problem because you edit that file manually. as mentioned local host cannot be broken you would have to do some pretty defined things to actually break it. Which means intentional.

    localhost is just loopback for your computer's ip its name resolved instead of numerical.

    Err refused will be something to do with the database or what ever it is you are doing. its not port related or anything because you are local. The application is seeing you but telling you for what ever reason that its not going to let you in.
    I certainly haven't broken anything deliberately; I'm not that self-destructive ;-)

    I'm not using any database in this case. I built a basic Vue app using Visual Studio Code via a few commands and localhost:3000 is supposed to display the splash screen for the app but, instead, I am getting this error.

    This is my hosts files. I don't see anything in it that I put in there although I have edited hosts files before some years ago. Do you see anything "off" in this file?

    =================================================================================
    # Copyright (c) 1993-2009 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhost

    # Added by Docker Desktop
    # 192.168.5.2 host.docker.internal
    # 192.168.5.2 gateway.docker.internal
    # To allow the same kube context to work on the host and the container:
    127.0.0.1 kubernetes.docker.internal
    # End of section
    127.0.0.1 localhost
    ::1 localhost
    ===============================================================================

    The 4th last line, about docker, also seems to be mapped to 127.0.0.1, the loopback address. I don't know how that line got in there. I *did* try to install Docker a few years back and there's a chance that I even put that line in the hosts file although I don't specifically remember doing that.

    However, my localhost was working fine the last time I tried to access it a couple of weeks back and every other time I tried to use it. There were many such occasions, most of which were after I installed Docker, and I had no trouble accessing localhost on any of those occasions. Therefore, I'm inclined to disregard this line in the hosts file as being responsible for my current problem but I thought I should mention it just in case it offered an explanation.
      My Computer


  8. Posts : 776
    Windows 7
       #8

    The key issue you're glossing over is your Vue app isn't taking connections, or being blocked. The HOSTS file is a red herring, that file is searched in line order until a string match occurs.

    If this PowerShell command fails, then your app is at fault:
    Code:
    powershell wget http://localhost:3000
    
    wget : Unable to connect to the remote server
    At line:1 char:1
    + wget http://localhost:3000
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
        + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

    If you believe your app is functional, then create a Windows Firewall rule allowing connections.
    Code:
    netsh advfirewall firewall add rule name="Open Port 3000 for Vue" dir=in action=allow protocol=TCP localport=3000
      My Computer


  9. Posts : 220
    Windows 10
    Thread Starter
       #9

    garlin said:
    The key issue you're glossing over is your Vue app isn't taking connections, or being blocked. The HOSTS file is a red herring, that file is searched in line order until a string match occurs.

    If this PowerShell command fails, then your app is at fault:
    Code:
    powershell wget http://localhost:3000
    
    wget : Unable to connect to the remote server
    At line:1 char:1
    + wget http://localhost:3000
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
        + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

    If you believe your app is functional, then create a Windows Firewall rule allowing connections.
    Code:
    netsh advfirewall firewall add rule name="Open Port 3000 for Vue" dir=in action=allow protocol=TCP localport=3000
    I tried the wget command in PowerShell and got the exact same error message you show in your example. Then I ran the netsh command and got a response of "Ok". I thought I was in the clear but when I tried the wget again, I got the exact same error message AGAIN.

    Now what?
      My Computer


  10. Posts : 776
    Windows 7
       #10

    This means your app isn't taking connections. Did the same app work at some point before?

    Correct me if I'm wrong, Vuetify is only an UI framework and isn't a web server product. There should be some underlying web service that's hosting your app. From the Vue docs, they call this a "dev server".

    Get started with Nuxt.js on Windows
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:50.
Find Us




Windows 10 Forums