DEV Community


Posted on

windows hosts file do not support inline comments

I put a line like this in hosts file of windows, but it does not take effect # comments
Enter fullscreen mode Exit fullscreen mode

but another line without # comments works perfectly, so I decided to move the inline comments to a line by itself, then problems solved

Discussion (0)