Unable to connect to the server

PC and Laptop are connected to the same local network - but it is very likely that your router can only forward HTTP/HTTPS traffic to one of those. Verify that it is forwarding to the Internal IP of the device where you are actually running nginx.

So, if you want to serve from the laptop, verify that the router is forwarding HTTP/HTTPS traffic to 192.168.1.4 (according to your screenshot).