Jump to content

Fixing Localhost issues


Cheesegeezer
 Share

Recommended Posts

Please use this at your own discretion.  I would suggest creating a copy of the mentioned file in this help document prior to making any changes.  I accept no responsibility for any issues with your system after follow this guide.

 

One very good point regarding UAC and users that choose to leave this on, that was brought up by @ was the following

 

For people that have UAC turned on, they will not be able to overwrite the hosts file from a text editor (even if they are logged in as an administrator). They will have to save the hosts file to a different name (or location), then rename or delete the original hosts file, then rename or move their new hosts file.

 

So Basically, if you cannot connect to mediabrowser dashboard through the icon in the system tray or you have to physically type your address and port into your browser to access the dashboard (such as http://192.168.1.79:8096/mediabrowser/dashboard/dashboard.html).  You probably have the localhost address missing or invalid in your system32 directory.

 

Here is how to fix it basically

 

Navigate to the "hosts" file located here C:\Windows\System32\drivers\etc

 

Open "hosts" file and select Notepad to view the contents (My hosts file is one below)

 

locate the line that says localhost at the bottom of the document.

 

Change the address from whatever it is to 127.0.0.1 (in my case from 0.0.0.0)

 

Save the document (CTRL+S or File->Save)

 

You should be good to go

# 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
# 
0.0.0.0 localhost 

Edited by Luke
  • Like 3
Link to comment
Share on other sites

 Share

×
×
  • Create New...