Steam Connection Error (“you must first connect to the Internet”)

I was able to download and install Valve’s Steam client on my Windows 7 64-bit machine, but when I tried to run the client I would instantly receive this error:

Steam.exe (main exception): To run Steam, you must first connect to the Internet

I tried changing port-forwarding rules in my router, and disabling the Windows firewall entirely. In the end, the problem turned out to be PeerBlock, which is used in P2P networking. PeerGuardian would cause the same problem, as would any software which performs network blocking functionality.

Rather than disable PeerBlock, I added Steam’s servers to PeerBlock’s allowed list. To do this, open PeerBlock and, as Valve servers appear on the list, right click them and select “Allow x.x.x.x permanently”:

Adding a server to PeerBlock's list

Connections to Valve’s servers should appear in the TCP range of 27014 – 27050 and UDP 4380, and 27000 – 27030. It appears that their servers are identified as “VALVE CORPORATION” or “Limelight Networks”.

About Jeff Fitzsimons

Jeff Fitzsimons is a software engineer in the California Bay Area. Technical specialties include C++, Win32, and multithreading. Personal interests include rock climbing, cycling, motorcycles, and photography.
This entry was posted in Network, Technology. Bookmark the permalink.

One Response to Steam Connection Error (“you must first connect to the Internet”)

  1. Mark says:

    Limelight Networks is a content delivery network that has many big name customers including Microsoft, Apple, Netflix, NBC, ETC ETC ETC.

    Next time you connect you can easily be connecting to entirely different Limelight Networks IP addresses, so you might want to keep an eye out and make sure you don’t get blocked again due to new IP addresses.

Leave a Reply

Your email address will not be published. Required fields are marked *