My server used to work, but it now doesn't

I decided to add a few extra mods, and now my server doesn’t work. I just wanted to play with a friend, and it started to say connection failed whenever I tried to join. I cant find anyone else with the same problem.