Steam Error Code -118: Unable to Connect to Server
Flush your DNS cache and renew IP via Command Prompt, or restart your router and Steam client.
Power cycle your home modem and router (unplug for 30s), then sign out of the Netflix app and sign back in.
-
1
Flush DNS and Reset Winsock
Open Command Prompt as Administrator, run `ipconfig /flushdns`, then `netsh winsock reset`, and restart your computer.
-
2
Allow Steam Through Windows Defender Firewall
Navigate to Windows Security -> Firewall & network protection -> Allow an app through firewall, ensure steam.exe has both Private and Public checkboxes ticked.
-
3
Change DNS to Cloudflare or Google Public DNS
In Network Connections, open IPv4 properties for your active adapter and set Preferred DNS to 1.1.1.1 (or 8.8.8.8) and Alternate DNS to 1.0.0.1 (or 8.8.4.4).
What causes error code Error -118?
Steam client cannot establish a stable HTTP connection with Valve's storefront or community servers, typically due to local DNS cache corruption, Windows Firewall interference, or Steam network maintenance.
How can I quickly resolve Error -118?
Flush your DNS cache and renew IP via Command Prompt, or restart your router and Steam client.
Which platforms does this error affect?
This error is verified to occur on: Windows 11, Windows 10, macOS, SteamOS.