Some schools has blocked connecting to each other PCs to prevent malware from spreading.
First, try pinging each other with ping utility in command-line.
If you can't ping each other, then try typing "ipconfig /release", then again "ipconfig /renew" to renew IP. Try pinging each other again...