problem with connecting to maxima using wxmaxima



I have problem like in the subject.
I installed maxima, wxmaxima on debian and it works fine. 
when i use wxM. says that cant onnect to maxima.
I added to /etc/hosts many lines but dont help:
maxima: 127.0.0.1
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1localhost
127.0.0.1 local
Had anyone problem like me or can anyone help me.