Cannot connect with the server

I have tried to connect with the online mode and the response is negative. So, how can I play online mode with friends?