I’ve recently updated Local and am not able to get the server to run. All I get it “This site can’t be reached” in the browser. I’ve tried creating several sites with differing PHP versions and both nginx/Apache. No luck.
To anyone having this issue, can you please provide your local-by-flywheel.log file?
You can get to it by going to Help » Reveal Local’s Log on macOS. To find it on Windows click on the 3 dots in the upper-right corner of the window then go to Reveal Local’s Log.
I am still new to the whole flywheel local. I just setup flywheel local on Windows 10 and when I clicked on view site I get “Site can’t be reached” I don’t know if there was something I did wrong or didn’t do but yeah, would love your help. Thank you in advance. I have also attached my log file as requested. Thank you again.
I’m having the same problem - server won’t load via nginx or Apache. It’s acting like there’s already something listening on port 80 and conflicting, but I haven’t found what it might be or how to disable. From the log:
Feb 28, 2017, 7:38 PM EST - info: [main/spawnProvisioningWorker] ##### PROVISIONING NGINX ######
Feb 28, 2017, 7:38 PM EST - info: [main/createWebServerConf] Creating Web Server Conf
Feb 28, 2017, 7:38 PM EST - info: [main/spawnProvisioningWorker] ##### PROVISIONING PHP 7.0.3 ######
Feb 28, 2017, 7:38 PM EST - warn: [main/changePHPVersion]
{ stdout: ‘Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?\n’,
stderr: ‘’ }
Feb 28, 2017, 7:38 PM EST - warn: [main/changePHPVersion]
{ stdout: ‘’, stderr: ‘php-cgi: no process found\n’ }
Feb 28, 2017, 7:38 PM EST - info: [main/spawnProvisioningWorker] ## PHP Step 2 ##
Feb 28, 2017, 7:38 PM EST - warn: [main/changeWebServer] nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
Feb 28, 2017, 7:38 PM EST - info: [main/spawnProvisioningWorker] ## Copying PHP Config ##
Feb 28, 2017, 7:38 PM EST - info: [main/spawnProvisioningWorker] ## PHP Step 3 ##
Feb 28, 2017, 7:38 PM EST - info: [main/spawnProvisioningWorker] ## PHP Step 4 ##
Feb 28, 2017, 7:39 PM EST - info: [main/spawnProvisioningWorker] ## PHP Step 5 ##
Feb 28, 2017, 7:39 PM EST - warn: [main/index] Unhandled Rejection at: Promise Promise {
{ stdout: ‘’,
stderr: ‘nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] still could not bind()\n’ } } reason:
{ stdout: ‘’,
stderr: ‘nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)\nnginx: [emerg] still could not bind()\n’ }
Feb 28, 2017, 7:39 PM EST - info: [main/changePHPVersion] Starting php-fpm done
Update - I have things working now. It was a port 80 conflict in my case, resolved by running:
sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null