You need to edit two of your repository files: /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo. Now un-comment all the lines that start with the term baseurl and place a comment before all lines that start with mirrorlist. This should be done for both the above files.
Now edit your /etc/hosts file and append the following to it’s contents:
18.104.22.168 mirrors.fedoraproject.org 22.214.171.124 mirrors.rpmfusion.org