redux-saga / redux-saga-beginner-tutorial

Redux/Redux-saga beginner tutorial
MIT License
587 stars 544 forks source link

what is this url http://10.42.0.1:9966 #59

Closed vinhyenvodoi98 closed 5 years ago

vinhyenvodoi98 commented 5 years ago

Hello you guy i just start learn about redux-saga .when i run the project Server running at http://10.42.0.1:9966/ (connect) why it not run on my localhost and where is this code from ?

Thank you

paradox42 commented 5 years ago

Hello you guy i just start learn about redux-saga .when i run the project

Server running at http://10.42.0.1:9966/ (connect) why it not run on my localhost and where is this code from ? Thank you

try access the page using http://localhost:9966, that worked for me.

vinhyenvodoi98 commented 5 years ago

try access the page using http://localhost:9966, that worked for me.

after research i finding out that this project using the package that name budo . you can find budo in node_module after run npm start

  function getHostAddress (host) {
    // user can specify "::" or "0.0.0.0" as host exactly
    // or if undefined, default to internal-ip
    if (!host) {
      host = server.address().address
      if (host === '0.0.0.0') {
        // node 0.10 returns this when no host is specified
        // node 0.12 returns internal-ip
        host = '::'
      }
    }
    if (host === '::') {
      host = internalIp()
    }
    return host
  }

and find this function in budo.js

vinhyenvodoi98 commented 5 years ago

you can read about budo in https://github.com/mattdesl/budo