I have created a LAN world but it is not displayed on other PCs and you can't join
Then either the ip will be wrong or you have not activated Porvorwarning in the router.
It is important that you are in the same WLAN since as soon as you host a LAN world there should be a chat or such a port, then you can go to Multiplayer in the main menu of another PC and then enter this port under "Add server".
Do you just have to enter the number or write the port in front of it?
Just enter the number.
How do you activate the ß
It does not work
You have to activate this in the router settings, for example in the Fritzbox
the video is good I speak from experience.
Does that also solve the problem if one PC is in network 5 and the other in 2?
Not with port forwarding…
Yes with port forwarding you activate your port and everyone can enter your server. The only problem is that you have your ip address directly and you can Dosen.