Ensure that both the computers in same workgroup.
U need to create same user account on both computers.
If ur looging with different accounts on both computers, u need to create that user accounts on both computers.
I hope this will work for u
Make sure windows firewall is disabled, check any other firewalls are not running.