Can't connect to the server

I can’t connect to the server. I press “c” when it says: Connecting…(Press C). However after I press c, it just goes black until i press enter (I switched around x and enter).

Can anyone reply plz

i usually press enter not “C”