Connection failed after 6 retries.
- Try changing the client port. First Go into Garry's Mod properties in Steam > Then go to Set Launch Options > put in +clientport 27006 OR 27005 and then doing the same thing into console to 100% make sure the client port is working.
- Try flushing DNS cache. You can do this by opening CMD and then pasting the command ipconfig /flushdns and then disabling and enabling WiFi.
- Try changing the DNS servers being used. The most common one someone can use is 8.8.8.8 and 8.8.4.4 (Google DNS).
How to change DNS server?
- Press the Windows key on your keyboard.
- Type in “control panel” and open the Control Panel app.
- Click Network and Internet.
- Go to Network and Sharing Center.
- Click on Change Adapter options.
- Right-click on Ethernet network and click Properties.
- In the Ethernet Properties window, click Internet Protocol Version 4 (TCP/IPv4), then select Properties.
- In the Internet Protocol Version 4 (TCP/IPv4) window, select Use the following DNS server addresses:
- For your preferred DNS server, type in: 8.8.8.8.
- For your Alternate DNS server, type in: 8.8.4.4.
- Make sure to enable Validate settings upon exit box, then click OK.