Error -118 ("Unable to connect to server. Server may be offline or you may not be connected to the internet") appears when the Steam client cannot load a Store, Community or Library web page. It is one of the most common Steam errors during Steam outages and sales.
Quick Check: Before troubleshooting, verify if Steam is currently experiencing an outage.
Check Steam Status →Follow these steps to resolve the Steam error code -118:
If none of these solutions work, the issue may be on Steam's end. Check our real-time status page for current outage reports.
Check Steam Status