I\'m trying to get started with React using webpack, but keep running into an error when I try to set up webpack-dev-server
Solved, turned out my hosts file (found under /etc/hosts on a mac) had one line missing and so webpack couldn't find localhost. I restored it to its default following these instructions and it now works!