Help articles Local by Flywheel

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

Quit Local if it’s running

2

Open Terminal & Run Commands

Open Terminal

Run /Applications/Local\ by\ Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine stop local-by-flywheel

Run VBoxManage modifyvm local-by-flywheel --natdnshostresolver1 on

Run VBoxManage modifyvm local-by-flywheel --natdnsproxy1 on

3

Re-Open Local

Re-open Local and check the site


Solution on Windows

1

Quit Local if it’s running

Quit Local if it’s running

2

Open Cmd.exe & Run Commands

Open Cmd.exe

Run %LocalAppData%\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe stop local-by-flywheel

Run "%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" modifyvm local-by-flywheel --natdnshostresolver1 on

Run "%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" modifyvm local-by-flywheel --natdnsproxy1 on

3

Re-Open Local

Re-open Local and check the site


  • Organizations

    Everything you need to know about managing your team with our Organizations feature.

    8 Articles
  • Blueprints

    Learn everything there is to know about what Blueprints are, how to create them and how to make the best use of them.

    5 Articles
  • Simple SSL

    All there is to know about our free, automatically installed and activated SSL certificates.

    8 Articles
  • Staging

    How to get the most out of Staging, which allows you to duplicate a site, make changes, and then push those changes to the live site.

    6 Articles
  • Local by Flywheel

    Everything you need to know about our amazing, free local WordPress development software for Mac and PC.

    5 Articles
  • White Label

    Everything you need to know about our Whitelabel subscriptions for branding and reselling Flywheel.

    4 Articles
  • Getting started

    Everything you need to know to get your first Flywheel site up and running.

    8 Articles
  • Frequently Asked

    The most commonly asked questions, and a few we just think you should know.

    24 Articles
  • General Questions

    Questions that don't fit elsewhere, or those about Flywheel in general.

    56 Articles
  • Billing & Accounts

    Questions relating to payments, billing and managing your account on Flywheel.

    12 Articles
  • Domain Names

    Details about how to manage DNS and point your domain names at Flywheel.

    10 Articles
  • Database

    How to access your WordPress database to make changes and update content.

    3 Articles
  • Security

    Details about everything Flywheel does to makes your site so secure.

    12 Articles
  • Plugins

    Which plugins work best, which plugins work worst, and everything in between.

    7 Articles

Get in touch with us

Standard support hours are M-F 9am-5pm CDT and 24/7 emergency support.

WordPress experts

Try it yourself. It's free & takes less than 60 seconds. Sign up

× How to manage 50+ WordPress Sites

Here's a free ebook!

How to manage 50+ WordPress Sites