Error: couldn't connect to server - Linux -

i don’t know how to do this, can you give to me the solutions, how can to do that with command line?