Страницы

четверг, 12 мая 2022 г.

How to fix most "LAN server not found" problems in Windows 10

 Hello, guys! Most of the solutions found in internet, even from support (example here) talks about machines must be reachable and be on same subnet (e.g. 192.168.x.x). But I didn't find anyone saying why and how to do that easily (workarounds exists, but don't guarantee 100% working).

So, at first, let's understand why. Computer reachability can be easily checked typing (in cmd, Run -> cmd, enter):

ping <ip here, better ip4, e.g. 192.168.1.106>

But it's not enough for games. I have had a hard time setting up connection in Sacred. Both PC was connected to same router through same wifi. Both can "ping" each other successfully. But Sacred wount work. While other game works. So what may be the problem with Sacred?

Let's investigate. To know the network registration (IP), we can type:

ipconfig

Usually, we will see only one registration here. But nowadays, when we have virtualization, vpns, etc., we will see several. It's because several network connections created to provide virtualized OSes the connectivity or even register our PC in other part of the world. 

The problem is that game selects one of the connections, not scan all of them (especially old ones). The solution is to restrict acces to them or disable them for time playing. Many ways to do that. That's one way to disable:

1. Open network adapters window. E.g. type in cmd:

ncpa.cpl

2. Disable each adapter except the one that gives you connection (right click, select disable). Note: you need to reeanable all disabled adapters after playing. So better write them down before.

3. Check you still reach PC, that will be running as server. E..g. type in cmd:

ping <ip of other PC>

That's all! You can run the game and ensure it will find server host!

Solution tested on:

Sacred (first),

Battlefront 2 (2005 year)


Will note, that there are easier solution which may be not affordable for all. You connect both PCs to some VPN. From now on, they are on same network and by default, game must use this connection. It's how I trobleshooted playing Neverwinter Nights Enhanced Edition. Sadly, it's not working for all, e.g. for Battlefront 2.


Hope this helps someone. Thank you for reading!