在C:/Windows/System32/drivers/etc裡邊有一個hosts檔案,用記事本打開,裡邊最後幾行原來是:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
删掉127前面的#,改成:
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
# ::1 localhost
轉載于:https://www.cnblogs.com/jvis/archive/2012/05/14/2499934.html