we might need more information.
wired or wireless?
how are you trying to communicate with each other. Ping? if so, is firewall on the computer allowing it. are they connected to the same switch or dose it transverse a firewall?
for a very simple test connect the two computers to the same switch and try to ping each other. also if across diffrent switches is the trunk set to allow that vlan?