Are you trying to connect using the identical settings on both computers at the same time, or with one while the other one is already connected?

If so, then it sounds like you need to get your router reconfigured. If you are trying to do it without a router, then I don't know if that's even possible with a single internet connection.

If you have a router, then use PortForward for assistance in properly configuring your router.