Coder Social home page Coder Social logo

localhost:3000 not responding about flynt HOT 6 CLOSED

flyntwp avatar flyntwp commented on May 26, 2024
localhost:3000 not responding

from flynt.

Comments (6)

steffenbew avatar steffenbew commented on May 26, 2024

Hi Michael, happy to hear you're giving Flynt a try!
Did you follow step 2 of the install guide and adjust the host variable to match your local url?
Change the host variable in flynt/build-config.js to match your host URL: const host = 'your-project.test'

from flynt.

MichaTausKamR avatar MichaTausKamR commented on May 26, 2024

from flynt.

domtra avatar domtra commented on May 26, 2024

Hi Michael,
so your actual WordPress installation is accessible via http://localhost? Then it should be const host = 'localhost'. If you did set up a VirtualHost under some other domain, please adjust the host variable accordingly.
It could also be, that a browersync setting is preventing localhost:3000 from working correctly. Please try setting https to false in build-config.js under browserSync. https://github.com/flyntwp/flynt/blob/master/build-config.js#L51

Hope this helps.

from flynt.

MichaTausKamR avatar MichaTausKamR commented on May 26, 2024

Hello domtra, yes my WordPress runs on http://localhost. I tried that again and could even work with phpmyadmin in xampp.

Anyway, I tried your changes and it did something. Instead of giving me the error instantly, it now waits about a minute and then throws up an error "Firefox can't establish a connection to localhost."

:(

I only have Windows Defender and the Windows Firewall as security.

Regards

from flynt.

domtra avatar domtra commented on May 26, 2024

that is indeed strange.

i can only think of the firewall blocking node.exe from accessing port 80 on localhost. maybe you can explicitly allow that somehow.

from flynt.

areddxx avatar areddxx commented on May 26, 2024

I was having this issue as well, tried setting https to false and it worked for me.

May be worth adding to the readme.

from flynt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.