Skip to content

No data received ERR_EMPTY_RESPONSE webpack #336

Closed
@KhaledMohamedP

Description

@KhaledMohamedP

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions