Hi @colbacco,
Thank you for your response.
Another reason the game may crash is if you have entered an incorrect IP address. For example, if your LAN IP is 192.168.8.64
, but you typed 192.168.2.32
, that could cause issues.
If your PC does not have a public IP, you will need to configure “Port Forwarding” on your router. Here’s how you can do it:
- Let’s say your PC’s local IP address is
192.168.8.64
, and your router’s IP address is192.168.2.32
. - Set up “Port Forwarding” on your router to forward port
2345
to your PC’s IP address and port (192.168.8.64:2345
). - In your
launch.json
, set the IP to192.168.8.64
and the port to2345
. - You should then be able to access the game by visiting
http://192.168.2.32:2345
.
Additionally, please check your PC’s firewall settings to ensure that the game is allowed internet access.
If you have any further questions or need assistance, feel free to ask!