lost connection when joining friends

I tried joining different worlds by different people and I would load in for the first time with all the mods installed and then it would kick me out and give me lost connection whenever I would try to rejoin. I tried turning off my firewall, reinstalling both terraria and tmodloader, uninstalling all mods I had installed, restarting my router, and updating drivers. The only time it worked was when I hosted but then only one of my friends could join. I looked at the cmd prompt and it says running JoinAction directly connecting to ___ closing socialsocket. If anyone could help and have any idea what is going on that would be greatly appreciated.
Was this page helpful?