Why my app is not running in browser

workspace
server

#1

Hello!

I successfully launch webpack-dev-server via bash

yarn run v1.5.1
warning ../pa    ckage.json: No license field
$ webpack-dev-server --config ./config/webpack.dev.js
clean-webpack-plugin: /home/ubuntu/workspace/vi-frontend/build has been removed.
Project is running at http://localhost:8080/
webpack output is served from /
Content not from webpack is served from /home/ubuntu/workspace/vi-frontend/build
404s will fallback to /index.html

webpack: Compiled successfully.eformatted text`webpack: Compiled successfully.to /index.html

webpack: Compiled successfully.

But in browser i see <No application seems to be running here!>
Help me please! =)


#2

Your server needs to listen on 0.0.0.0, not localhost. To do so, add --host 0.0.0.0 or --host $IP to your yarn run command.


#3

Hi, thanks for your help!

A preview of what the app was running opened, but instead of my content there was
“Invalid Host header”
What can be the reason?


#4

Started successfully with

–host 0.0.0.0 --disable Host Check

thank you bro :wink: