Help! My Local site cannot establish a connection to WordPress.org

Depending on your network and computer configuration the Local VM may not be able to access external sites by default.

Common error text for this problem:

Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)


Solution on macOS

  1. Quit Local if it’s running
  2. Open Terminal
  3. Run /Applications/Local\ by\ Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine stop local-by-flywheel
  4. Run VBoxManage modifyvm local-by-flywheel --natdnshostresolver1 on
  5. Run VBoxManage modifyvm local-by-flywheel --natdnsproxy1 on
  6. Re-open Local and check the site

Solution on Windows

  1. Quit Local if it’s running
  2. Open Cmd.exe
  3. Run %LocalAppData%\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe stop local-by-flywheel
  4. Run "%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" modifyvm local-by-flywheel --natdnshostresolver1 on
  5. Run "%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" modifyvm local-by-flywheel --natdnsproxy1 on
  6. Re-open Local and check the site
2 Likes