Every planet and moon has exactly one portal on them and every portal has its own unique address. When an address is entered into a charged portal the charged portal establishes a wormhole to the portal at the entered address, allowing for two-way travel through the portal.