Acceder Al Router

I can't seem to make connection from the iPad app to the teamviewer application on my macbookpro in the local network. As soon I connect to a router that's also connected to the web it works just fine.