Were you trying to connect via the internet, rather than local (192.168.x.x)?
Routers usually block connections via the internet between local computers. You may be able to change a setting on it to enable such connections.
This is usually an issue with webcams as well.