Quantcast
Viewing latest article 26
Browse Latest Browse All 26

Answer by Andre Ponce for I am getting an "Invalid Host header" message when connecting to webpack-dev-server remotely

In the terminal of Visual Studio Code, you can do this:

ng serve --disable-host-check

And if you want to raise a temporary server on the port 4200 with SSH you can do this:

ssh -R 80:localhost:4200 nokey@localhost.run

Viewing latest article 26
Browse Latest Browse All 26

Trending Articles