redhat

Mysql connects to localhost but can't to 127.0.0.1

Connecting as root to mysql, to localhost is connected normally, and to 127.0.0.1 - ERROR 2003 (HY000): Can't connect to MySQ ... | +-----------+------------------+ What needs to be configured so that connections are accepted not only localhost?