How to connect a client to a dedicated server

I am stuck on this too.