Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 31/10/2008, à 19:40

GouKen

Telnet timeout..

Hello a tous,

problème tout simple, j'ai configuré et installé un eggdrop, mais je n'arrive pas a me connecter en localhost par telnet à celui-ci..
j'obtient ceci :

(root@V12)(/home/gouken) telnet localhost 3333
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection timed out

quelqu'un sait-il régler ça ?

merci d'avance

Hors ligne

#2 Le 31/10/2008, à 19:42

#Ergo-Proxy

Re : Telnet timeout..

hello à toi

poste  le retour

sudo iptables -L

#3 Le 31/10/2008, à 19:53

GouKen

Re : Telnet timeout..

(root@anthrax)(/home/gouken) sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

j'en profite pour rajouter une erreur que j'ai avec mysql.. :

(root@anthrax)(/home/gouken) mysql -u root -p
Enter password: 
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Il semblerait que mysql ne soit pas lancé et lorsque j'effectue la commande suivante, ça ne fonctionne pas

(root@anthrax)(/home/gouken) /etc/init.d/mysql start
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

Dernière modification par GouKen (Le 31/10/2008, à 20:07)

Hors ligne

#4 Le 31/10/2008, à 20:09

#Ergo-Proxy

Re : Telnet timeout..

Ce n'est pas le firewall.

poste

sudo netstat -alpen --inet | grep 3333
sudo netstat -tulp

#5 Le 31/10/2008, à 20:31

GouKen

Re : Telnet timeout..

(root@anthrax)(/home/gouken) sudo netstat -alpen --inet | grep 3333
tcp        0      0 192.168.0.4:3333        0.0.0.0:*               LISTEN     1000       239128     7536/eggdrop

et

Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        PID/Program name   
tcp        0      0 localhost:2208          *:*                     LISTEN     2936/hpiod          
tcp        0      0 anthrax.local:3333      *:*                     LISTEN     7536/eggdrop        
tcp        0      0 localhost:43271         *:*                     LISTEN     2951/python         
tcp        0      0 localhost:ipp           *:*                     LISTEN     3195/cupsd          
tcp        0      0 localhost:smtp          *:*                     LISTEN     3381/exim4          
tcp6       0      0 *:auth                  *:*                     LISTEN     3427/oidentd        
tcp6       0      0 *:ssh                   *:*                     LISTEN     3453/sshd           
tcp6       0      0 *:telnet                *:*                     LISTEN     3396/inetutils-inet 
udp        0      0 *:32768                 *:*                                3326/avahi-daemon:  
udp        0      0 *:32785                 *:*                                7536/eggdrop        
udp        0      0 *:bootpc                *:*                                3525/dhclient       
udp        0      0 *:mdns                  *:*                                3326/avahi-daemon:  
udp        0      0 *:ipp                   *:*                                3195/cupsd          
(root@anthrax)(/home/gouken)

Hors ligne

#6 Le 31/10/2008, à 20:35

#Ergo-Proxy

Re : Telnet timeout..

Ton eggtruc semble tourner pourtant.
Il est configuré pour accepter ce genre de connexion?
Je ne connais pas, alors je ne pourrai pas bcp t'aider.

#7 Le 31/10/2008, à 23:22

ngarn

Re : Telnet timeout..

fais ton telnet sur anthrax.local 3333, ton eggbidule tourne juste sur l'interface qui a cette adresse d'après le netstat...

Hors ligne