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
- Quit Local if it’s running
- 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
- Re-open Local and check the site
Solution on Windows
- Quit Local if it’s running
- 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
- Re-open Local and check the site