一、找到hosts文件,然后以记事本格式打开,然后输入以下内容:23.52.74.146
steamcommunity.com,然后找到steam图标右击“属性”选择“快捷方式”在“目标”加棚拦入以下内容:
-community="https://steamcommunity.com"。
二、打开CMD命令符,然后输入netsh winsock reset,进行重置。
三、打开c:\windows\system32\drivers\etc路径下的hosts。
四、在hosts路径下输入下面这段话,详情看下面图片,以记事本形式打开。
# steam
203.77.188.254 cdn.steamcommunity.com
203.77.188.254 cdn.store.steampowered.com
203.77.188.254 cdn.store.steampowered.com
203.77.188.254 media.steampowered.com
117.121.249.253 valve.vo.llnwd.net
117.121.249.253 cdn.steampowered.com
117.121.249.253 cdn.store.steampowered.com
117.121.249.253 cdn.steamcommunity.com
117.121.249.253 media.steampowered.com
208.64.202.69 store.steampowered.com
203.77.188.253 cdn.store.steampowered.com
63.235.4.133 support.steampowered.com
63.228.223.103 steamcommunity.com
五、打开本地协议,选择IPV4协议版本,进入属性然后选择“使用下面的DNS服务器地并数址”修改为:主要DNS修改为8.8.8.8,备用DNS修改为114.114.114.114。最后绝和首重启电脑,就彻底解决steam错误代码118的问题了。