When i go into the portal nothing happens it keeps saying already connecting to server and i waited ed 10 minutes but nothing hapend
I'm assuming you're talking about portals in the hub here... If this is the case, you can only connect to the server for which you have the modpack loaded up to. So if you have sky factory 2 loaded up you can only connect to sky factory 2 server, same if it were infinity you can only enter to the infinity portals, or direwolf, etc. It will keep just saying "connecting to server" as you do not have the correct mods or versions of them in order for you to establish the connection.
Could you try join with the direct IP? skyfactory2.mym.li for node 1 and skyfactory2_2.mym.li for node 2.