Unable to connect client project to the server

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Numshv

So, I’m planning to make a multiplayer game and this is pretty much my first time ever trying to make one. So i followed this tutorial step by step.

At least as far as i know I’ve followed the tutorial each step exactly the same but somehow I stumbled upon an issue on minute 14:44. In the video the guy manages to connect the client to the server but somehow mine just can’t connect to the server. The server is fine. I’ve executed the server and it works. But the client just can’t connect to the server.

Client

As you can see in the output it prints “Failed to connect”

Are the client & server running on the same PC? Do you have the correct IP address and port?

SteveSmith | 2022-11-08 07:23