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

**URL:** <https://community.localwp.com/t/help-my-local-site-cannot-establish-a-connection-to-wordpress-org/3272>\
**Category:** Local Classic FAQs\
**Created:** [October 16, 2017, 7:43pm UTC](https://community.localwp.com/t/help-my-local-site-cannot-establish-a-connection-to-wordpress-org/3272 "2017-10-16T19:43:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [October 16, 2017, 7:43pm UTC](https://community.localwp.com/t/help-my-local-site-cannot-establish-a-connection-to-wordpress-org/3272/1 "2017-10-16T19:43:50Z")

</div>

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
