sorry for the late reply...are you trying to use rdp(remote desktop protocol)?..if so, the port number is 3389, you will need a static ip for the host you are trying to rlogin into..A copy of your config will help solve this issue.
It works with DHCP because the router is doing auto negotiating i.e on the WAN interface its configured as "ip address dhcp".To input the Gateway address, go into configurature mode and input the gateway address like this..Router (config)#ip route 0....