8

I am using macOS Mavericks (10.9.5) and Chrome, Firefox, and Safari all do not connect to websites even though the network is clearly connected.

But browsing when booted into safe mode works.

I've read many articles and tried the following solutions:

  1. Set DNS servers to Google DNS and open DNS.
  2. Reinstalled operating system through the internet recovery. The internet for the recovery worked as expected, so this issue is something specific to browsing.
  3. Added Chrome, Firefox, Safari to Mac firewall.
  4. Removed System Configuration folder from library/preferences
  5. Disabled McAffee antivirus put on by work IT
  6. Ran McAffee scan and found nothing
  7. Renewed DHCP

Anyone have any ideas?

19
  • Run network utility & see if you can ping stackechange.com &/or google.com If no, see if you can ping 104.16.14.128 & 216.58.208.46
    – Tetsujin
    Commented Aug 8, 2015 at 12:24
  • I'll do that straight away. I forgot to mention, that browsing works in safe mode and I'm using the subject Mac currently. I'm going to have to log into regular mode then back into safe mode in order to post the results, so it will be a few minutes before I can tell you what happened. Commented Aug 8, 2015 at 12:28
  • Ping worked for all four. No problems Commented Aug 8, 2015 at 12:44
  • So it's either a port or an app block... Check without firewall. Check for presence of LittleSnitch, which is a user Firewall if you don't know it. Maybe test https addresses like iforgot.apple.com to see if that can get through. Or maybe try Terminal nc -v portquiz.net 80 [or 8080, 443 etc]to see if a port is open [you appear to need to quit that after each query with Ctrl/c or subsequent queries go silent]
    – Tetsujin
    Commented Aug 8, 2015 at 12:56
  • 1
    If you can connect in Safe mode, then it means something is getting loaded after boot. Two usual culprits are kernel extensions, and Launch Agents/Daemon. Try kextstat | grep -v com.apple, and launchctl list | grep -v com.apple, to list those, respectively. Find anything you don't recognise? Like @Tetsujin said make sure you have any reverse firewall app like Little Snitch configured properly.
    – user14492
    Commented Aug 8, 2015 at 16:30

7 Answers 7

3

Turns out my AV had entered a proxy that was blocking my connections.

It might be worthwhile to check: System Preference > Network > Choose your connection > Advanced > Proxies > remove any active proxies

2

Turns out that HBSS was preventing browsing due to not having the latest McAfee updates.

Thanks to all who helped me through this!

1

I had my iMac in storage for one year and when I started it up again although I could see that the wifi is connected I could not browse the internet. I contacted Apple Support and after deleting the contents of the folders below, the problem was solved.

Folders the contents of which were deleted are listed below:

~/Library/LaunchAgents

~/Library/LaunchAgents

~/Library/LaunchDaemons
1
  • Perfect!!! After many tried in different way but no hope but this one help me, thanks Ahmed Azam.
    – Nhu Phan
    Commented Jan 24, 2019 at 3:31
1

Answer of @ahmed-azam helped me to solve the issue.

Symptoms:

  • I can ping my router and all arp table (there were only 3 records)
  • I cannot ping any host on the Internet (1.1.1.1, etc)
  • Browsers have no connection

The things I tried without success:

  • connect to working Wi-Fi that worked on other devices
  • remove all networks from Network > Advanced... tab
  • run Wireless Diagnostics
  • renew DHCP lease / use of manual IP-address
  • removing files from /Library/Preferences/System Configuration
  • stopping mDNSResponder
  • updating Time and Date
  • creation of new Network Location

My Solution

I removed 2 suspicious files from ~/Library/LaunchAgents.

Then I looked into /Library/LaunchAgents and /Library/LaunchDaemons. I found only .plist files from Google Chrome, Microsoft Teams, etc. Also, there were files from Team Viewer and Windscribe VPN. I removed both applications (there is no need in them for me at the moment) and also removed their .plist files from both /Library/LaunchAgents and /Library/LaunchDaemons.

After computer restart I successfully connected to the Internet!

I'm pretty sure the LaunchAgent/LaunchDaemons were the only thing that caused problems.

Thank you all!

0

I have experienced for a few days the same issue on MacOS Sierra (10.12.5). No one of the suggestion found on internet seemed to work.

Finally, while installing the "Little Snitch 4 Public Beta" to check firewall trouble, the browser functionality suddenly springed back. I also choose to 'force quit' the installation to avoid to shut down or restart my Mac.

I guess that the Little Snitch installation overwrited some files, resolving the issue, without ever have to restart browsers or computer.

0

Just faced the same issue after a recovery from Time Machine.

I had access to the internet but the applications refuse to connect except App Store and Apple Website on every browser.

I just deleted Little Snitch and the two files of Launch Deamons and Launch Agents and everything got back to normal.

-1

I could not access any internet site thru Tor, Chrome or Firefox until I disabled Litle Snitch. It restarts by itself after 4 hours but in my case is OK because I seldom use this applications. Anyway I will try to pursue this problem to find a cleaner solution.

2
  • Why don't you just set up Little Snitch correctly instead?
    – Tetsujin
    Commented Aug 5, 2021 at 14:41
  • I don't see how this answers the question.
    – Chenmunka
    Commented Aug 5, 2021 at 17:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .