Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrowserSync and Local by flywheel problems #127

Open
AKdigital opened this issue Oct 19, 2018 · 7 comments
Open

BrowserSync and Local by flywheel problems #127

AKdigital opened this issue Oct 19, 2018 · 7 comments

Comments

@AKdigital
Copy link

npm starts browser sync is trying to access
https://localhost:3000/ and resulting in

localhost unexpectedly closed the connection.

I have
// Project options.
projectURL: 'alonlive.local', - that is my local domain and it works fine when accessing directly.

npm - 6.4.1
CLI version 3.9.1
Local version 3.9.1

Thanks!

If you'd like us to keep producing professional free and open source software (FOSS). Consider paying for an hour of our dev-time. We'll spend two hours on open source for each contribution. Yeah, that's right, you pay for one hour and get both of us (Awais & Maedah) to spend an hour as a thank you.

🚀 $99.99 — Support for one hour or more →
🔰 $49.99 — Support half an hour maintenance →
☕️ $9.99 — Buy us lunch or coffee to keep us trucking #OpenSource →

@KevinHuddy
Copy link
Contributor

Do you have SSL activated on your local project? If my app or website is secure by SSL i have the same result.

@ahmadawais
Copy link
Owner

SSL is known to cause such issues. Try to disable that?

@eclectic-coding
Copy link

@AKdigital Did you get any resolution? For what is worth, I was having the same issue with Valet. But when I included the protocol in the config, it now works just fine:

projectURL: 'https://sandboxwp.test',

@isvictorious
Copy link

@AKdigital This is a known issue with the .local domains on OSX. For all new sites, I recommend using .test or local.yoursite.com.

Issue with .local is it has some loop back that causes connection issues.

@ashbryant
Copy link

I'm having issues with this also and would like to know how to fix it.

@benjaminadk
Copy link

The BrowserSync is confusing. I'm using XAMPP at localhost/wp_vs_532 and put that in the config file. But hot reloads weren't working. I noticed the message about port 3000 and tried localhost:3000/wp_vs_532 and now it works. I know Apache is on ports 80 and 443 so it seems like wpgulp takes the input url and spits out updates over port 3000 of that url???

@mykt0ngc0
Copy link

mykt0ngc0 commented Mar 10, 2020

Updating Local to the latest version might help.
https://localwp.com/releases/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants