Post the IPs and gateways for each machine.
Hopefully, you had both set for DHCP, which would mean they're both now in the 169.254.0.0/16 range.
However, just post the IPs and gateways. From there, we can tell you what to change.
Or, just go ahead and set them in the following manner:
Then, they should see each other.
Also, make SURE you're using a crossover cable.