Hello @Admin !
Since there is no AD for some reason the connection from your laptop to the Windows Server 2019 PC is being classified as a public network by the Windows Firewall, which is why turning off the firewall for public networks allows the ping to get through.
I suggest you create a rule to allow ICMP for Public Networks with only the source of Win2019 so you can ping the PC
There is also great possbility to not receiving back the ICMP replies on the Server so also try to add a rule on the Server Machine to accept traffic from the PC IP address or the network of it
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards