DEV Community

Roy
Roy

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

10.0.90.29 e.exmaple.com # 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

Top comments (0)