Connecting Devices on Different Networks

Is there any way to connect 2 devices that are on different networks, for example, my home PC and my smartphone via the mobile network?