Gateway needs to be the other computer. The gateway is the address where all packets are sent to. If you tell each computer to send all packets to itself you can never reach anything outside.
And no, AmiTCP does not use the serial port unless you tell it to do so. AmigaExplorer automatically switches to TCP/IP mode if it finds a TCP/IP stack running.