Why does Ruby on Rails use http://0.0.0.0:3000 instead of http://localhost:3000?

后端 未结 8 1404
醉话见心
醉话见心 2020-12-13 04:00

I am very new to Ruby on Rails so when I tried to follow the official \"Getting Started\" ruby on rails tutorial, I was a bit disappointed

8条回答
  •  忘掉有多难
    2020-12-13 04:35

    Just so everyone knows, my firefox browser correctly displays the locally hosted server if I access http://localhost:3000/ but it does NOT display when I attempt to access http://0.0.0.0:3000/ as recommended by Ruby. Clearly, in some sense, they are not equivalent.

    I'm on Windows btw.

提交回复
热议问题