NEW RELEASE!  Click here to download the latest version, Local “Lightning”

Local Help Docs Troubleshooting

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 & 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

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