Cannot Access Facebook From Any Browser? Here’s HOW TO Fix It

Being a very huge social network, Facebook is prone to spammy links and spreading malware! I have been a victim of these. Before I wrote this, I was not able to  access Facebook from any browser for the past 3 days! I could access it using a proxy or using some other computer but not my own! I could also access the Facebook login page from m.facebook.com and touch.facebook.com, however I could not login as it showed

“Google Chrome’s connection attempt to www.facebook.com was rejected. The website may be down, or your network may not be properly configured.”

ALSO READ: HOW TO Access Facebook At Work Without Being Caught

After a lot of Googling, I could find the solution in Microsoft Forums and it is to reset the hosts files back in Windows! Here is how to fix Facebook connection error in Microsoft:
Click the below link to reset the file hosts:

Fix this Problem

If this does not work out,

  1. Go to Start-> Run and type %systemroot% system32driversetc and press OK.
  2. You must now be in the folder Windows/system32/drivers/etc
  3. In this folder, you will find the file Hosts. Rename it to Hosts.old
  4. Now you need to create a new default Hosts file. To do this,
  5. Open Text Editor and type the following in it:

For Windows XP:

# Copyright (c) 1993-1999 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

127.0.0.1       localhost

For Windows Vista:

# Copyright (c) 1993-2006 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

127.0.0.1       localhost
::1             localhost


For Windows 7:

# Copyright (c) 1993-2006 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 handle within DNS itself.
#       127.0.0.1       localhost
#       ::1             localhost

Save the file as Name “Hosts” and Save As Type “All Types”. Make sure you save it in Windows/system32/drivers/etc folder.

Hopefully, this must solve your problem. If it doesn’t I suspect your PC must be infected with some Malware for which you can download Malwarebytes.

For any other queries, kindly post comments below and I will be happy to help you :)

  • http://www.carnivalgoa.com Aaron

    I haven’t faced this issue as yet THANK GOD :D

    Does this issue occur only due to some malware or anything else?

  • ankit manchanda

    thanx a lot man !! it was really helpful !! it was troubling me for the past 2 weeks !!! i removed all the infected file !1 but still facebook was not working !!! then i downloaded microsoft fix it !!! then it was working properly !!! thanx again !!! :) :) :)

  • Asheesh

    problem fixed …. thanks man

  • Anurag Aggarwal

    Really Amazing! Thanks a lot… thank you so very much! Anurag

  • nidaa

    what is a text editor and how do i open it??