Port forwarding alone isn’t enough. Give the PC a fixed LAN address (DHCP reservation), forward TCP and UDP 5400 to that LAN address in the router, and allow the server executable through Windows Firewall for private and public networks. Test from outside your network, since testing from the same LAN can fail. If it still fails, check whether your ISP uses CGNAT or a shared public IP; if so, port forwarding won’t work and you’ll need a VPS, tunnel, or a public IP from your ISP.