Getting past router?

Hi all,

Suppose I have a program, and the program
wants to talk to a server at some IP address,
but that server, which is waiting for a connection
on some port, is behind a wireless router.
How can that work? Does a router normally
just pass such a request on to all machines
connected to it?