Webpack-dev-server: No data received ERR_EMPTY_RESPONSE webpack

Created on 7 Dec 2015  路  4Comments  路  Source: webpack/webpack-dev-server

I am trying to run webpack-dev-server, but when I go to http://localhost:8080/ the browser returns

No data received 
ERR_EMPTY_RESPONSE

Solution

I was able to resolve this issue by explicitly telling webpack to use port 3000

webpack-dev-server --port 3000

go -> http://localhost:3000/

It's not clear why the server didn't run in the defaulted port number?

All 4 comments

+1

+1

+1

Dupe of #183, which also contains a lot more information about how to fix this.

Was this page helpful?
0 / 5 - 0 ratings