While there were regional dialects, the common language used in Athens, where Socrates lived, was Attic Greek. This was the standard language of literature, philosophy, and public life.
It's worth noting that while he likely spoke other languages, we have no record of him doing so.