version(s) affected:
symfony/webpack-encore-bundle 1.9.0
webpack-encore 1.0.4
webpack-dev-server@^4.0.0-beta.0
Description
Since v1.0.0 when configure encore dev-server like that
"dev-server": "encore dev-server --port 8081 --host 0.0.0.0 --public http://mydomain.dev:8081 --disable-host-check"
i have

Possible Solution
I think webpack-dev-server@^4.0.0-beta.0 is the problem
No problem for my second project create 3 weeks ago.
symfony/webpack-encore-bundle 1.9.0
@symfony/[email protected]
webpack-dev-server@^3.1.14
I do not know if it is related but I have the same type of issue.

I am using the webpack-dev-server@^4.0.0-beta.0 as well.
It was working well with v3.4.1
Some options changed/disappeared in webpack-dev-server@4 (full list here: https://github.com/webpack/webpack-dev-server/blob/08a83a65f5c500a648c12faa2fa03122ee380c8b/CHANGELOG.md#400-beta0-2020-11-27)
@thewalkingcoder --disable-host-check and --allowed-hosts got merged into a single --firewall option
@lokiloq --pfx was moved to --https.pfx
Hi @Lyrkan
Thanks for your answer but I still have the same error:

Here is my config:

I am using "@symfony/webpack-encore": "^1.0.4"
Specifically, --disable-host-check was replaced with --firewall false.
The docs are being updated here: https://github.com/symfony/symfony-docs/pull/14895
Cheers!
For the records: --disable-host-check is replaced with --no-firewall (see https://github.com/webpack/webpack-dev-server). --firewall false did not work for me.
Oh, thanks! I've also tried --firewall false but like you but it didn't work.
Thanks for sharing this!
Most helpful comment
For the records:
--disable-host-checkis replaced with--no-firewall(see https://github.com/webpack/webpack-dev-server).--firewall falsedid not work for me.