| Internet, Networking, and Wireless Discussion of networking, internet, and wireless including Apple's Airport products. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Sep 25, 2011
Posts: 6
![]() |
When trying to get to google.com/youtube.com/yahoo.com I keep receiving the message "Safari can't connect to server" I then tried the same operation in firefox and a similar message.
Other sites are able to be accessed without issue... This has been happening for a few months now but I usually can fix this issue for a period of time by deleting my cache files. But this no longer has the same effect. I also tried safari's help link of Try entering “/index.html” at the end of the address.This also has no effect.. also found this odd... I tried to access my mail through yahoo and was able to get to it by entering yahoo.com/mail ??? Any help would be appreciated. |
| QUOTE Thanks | |
![]() Member Since: May 19, 2009
Location: Western Astraya
Posts: 6,453
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 13"MBP 2.9Ghz Intel Core i7 10.8.3 ~ iPhone5 6.1.3 ~ iPad Mini 6.1.3 ~ ATV2 5.2.1
|
Try this for Safar as you might have a corrupt .plist and i don't use FF so can't be of help there
Quit safari Open Finder then to Go in the menu bar. Now press Option and you will see yourLibrary appear in the drop down. Now click that and Finder will now show the hidden Library Folder. Goto Preferences and look for or type in the spotlight bar com.apple.safari.plist Now drag that to your Desktop. Relaunch Safari and a new .plist will be made within the Preferences folder and hopefully that has solved the problem. If not Find the new Safari.plist drag it to the trash and replace it with the old one from the desktop. Dont forget to use the Reputation System if someone has helped you out !!! Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!! |
| QUOTE Thanks | |
![]() Member Since: Sep 25, 2011
Posts: 6
![]() |
:edit: Actually I found the file and removed it ...but no luck Last edited by macdrvr; 09-25-2011 at 11:13 PM. |
||||
| QUOTE Thanks | |||||
![]() Member Since: May 19, 2009
Location: Western Astraya
Posts: 6,453
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 13"MBP 2.9Ghz Intel Core i7 10.8.3 ~ iPhone5 6.1.3 ~ iPad Mini 6.1.3 ~ ATV2 5.2.1
|
Quote:
Try Repairing Permissions in Disk Utility via Applications>Utilities Click on yourHD in the left column and the click the First Aid tab. Now at the bottom of the window click Repair Permissions. This can take a while if the System is a little messy. Once done restart and hopefully that has done something. Cheers Dont forget to use the Reputation System if someone has helped you out !!! Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!! |
|
| QUOTE Thanks | ||
![]() Member Since: Jul 17, 2009
Location: MA
Posts: 5,822
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi
|
Open up a terminal and enter the following command and tell us what you get
Code:
ping -c5 google.com traceroute google.com -- Regards ...Ashwin Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO. |
| QUOTE Thanks | |
![]() Member Since: Sep 25, 2011
Posts: 6
![]() |
Thank you for responding:
I ran 1.ping -c5 google.com and completed with : 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 11.744/12.377/12.660/0.325 ms Same for youtube.com, yahoo.com Did not complete 2.traceroute google.com traceroute: sendto: No route to host -traceroute: wrote google.com 52 chars, ret=-1 Same message for all sites including the sites that work Last edited by macdrvr; 09-29-2011 at 01:22 AM. |
| QUOTE Thanks | |
![]() Member Since: Sep 25, 2011
Posts: 6
![]() |
After having issues with certain pages not connect to servers especially anything google.com or owned by them and others. I found users with similar problems and the cuplprite seems to be a Trojan called BASH/QHost.WB with a link to the founders here Threat Description: Trojan:BASH/QHost.WB. Now I need to remove this file but the directions given by the site (pasted below) aren't working.
I ran $cd /private/etc and got operation complete Then tried to run $sudo vim hosts and no result but after one time I was asked for my admin password which I stupidly gave then changed right after. I do not get anything like : 91.224.160.26 google.com 91.224.160.26 google.ae 91.224.160.26 google.as Manually correcting the hosts file 1. Open terminal and change directory to */private/etc/* $cd /private/etc 2. Use any editor tool you prefer and edit the *hosts* file. Note: You need root privilege to do this. $sudo vim hosts You should see something similar to the following: 91.224.160.26 google.com 91.224.160.26 google.ae 91.224.160.26 google.as [truncated for brevity] 3. Remove all the entries contain *91.224.160.26* from the hosts file. |
| QUOTE Thanks | |
![]() Member Since: Jan 04, 2005
Location: Modesto, Ca.
Posts: 25,806
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: iMac C2D Late 2007 20" with 10.8.3, Macbook Santa Rosa 4GB Ram OSX 10.8.3
|
I hope you are not putting in the $ first thing. Second you HAVE to give OSX your admin password to run Vim and other editors. You are giving the OS the Root Password. That is the way Unix OS's work and why they are more secure.
I just tried it here like this: Open the Terminal in Utilities. type in: cd /private/etc then type: sudo vim hosts It will ask your OSX Administrator Password. Give it that and the editor will open with the hosts file. Here is what a proper hosts file looks like......................... # # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "hosts" 10L, 236C I believe it's Command+s to save. It's Command+q to quit vim. |
| QUOTE Thanks | |
![]() Member Since: Jul 17, 2009
Location: MA
Posts: 5,822
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi
|
Slight clarification on Dennis' post..you have to give OS X your password when you prefix a command with "sudo", indicating that you want to run the command as Root..
Please do the following Code:
cat /private/etc/hosts Code:
sudo vi /private/etc/hosts Continue doing this until your hosts file is clean and looks more like what Dennis has put on his post. Once you're done, you want to save the file and quit VI. To do so, you'll want to hit the ':' (colon) key, that is, hold down the SHIFT key and hit the semi-colon ';' key. Now enter the letters 'wq' and hit enter. This will [w]rite the file and [q]uit VI. Now please test your access to the sites you were having issues with previously.. -- Regards ...Ashwin Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO. |
| QUOTE Thanks | |
![]() Member Since: Sep 25, 2011
Posts: 6
![]() |
Once again thank you. Im glad i didn't give the trojan my password. But it looks like I am not infected with this torjan than because mine looks just like dtravis7 host file, with the only exception being the bottom. So im seems unfortunately im back to square one again with this issue.
# Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/private/etc/hosts" 10L, 236C I just thought to try and use a proxy server to use these sites and it works. Idk if that would lead to a clue or not to my issue? Last edited by macdrvr; 09-30-2011 at 11:44 AM. |
| QUOTE Thanks | |
![]() Member Since: Jul 17, 2009
Location: MA
Posts: 5,822
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi
|
What proxy server? How long has this issue been happening and how are you connected to the Internet?
-- Regards ...Ashwin Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO. |
| QUOTE Thanks | |
![]() Member Since: Sep 30, 2011
Posts: 2
![]() |
I have been having the same issue for a week or so now. I have cycled the router and modem and I have used another laptop on the same IP and been able to access google, yahoo, and youtube. Interestingly enough I am able to access google if I go through a proxy site like hidemyass.com. My hosts file appears normal and I have no entries referring to google. The issue is the same on Firefox and Safari. I am connected through DSL. I really hope someone can help us out here.
Last edited by dsflynn1; 09-30-2011 at 10:24 PM. Reason: more info |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Can't Connect To Server | RebLev | Internet, Networking, and Wireless | 1 | 02-03-2011 08:04 PM |
| Connect to Server on wifi Network Connect | cayqel | OS X - Operating System | 0 | 09-03-2009 07:25 PM |
| time machine error - never stops to prepare or stopping back-up | alonewithmymac | OS X - Apps and Games | 3 | 12-26-2008 07:56 PM |
| Web server / port forward inconsistent results | DavidH | Internet, Networking, and Wireless | 3 | 12-08-2008 05:42 AM |
| HELP I'm trying to clean out old web site files from server | bluerose | Web Design and Hosting | 8 | 02-16-2005 09:42 PM |
All times are GMT -4. The time now is 08:00 PM.
Powered by vBulletin