Server Browser Join Button not joining game

I watched a tutorial for making a server broswer. Everything was successful and by that I mean I was able to see the session and stuff like that. However, I was not able to join the actual game. I packaged the project and sent it to my friend too we were able to see the game. The join button would just not work. Here is the link to the tutorial.