Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am doing telnet to windows host from Linux to list Check_mk_agent data. but its giving me following output.

[root@myhost ~]# telnet winhost 6556
Trying xxx.xx.xx.x...
telnet: connect to address xxx.xx.xx.x: Connection refused
telnet: Unable to connect to remote host: Connection refused

Am I missing anything to set up? Please help.

share|improve this question
    
Thanks...Updated the question –  meMangesh Apr 2 '13 at 12:27

2 Answers 2

up vote 1 down vote accepted

127.0.0.1 is the localhost or IPv4 loopback address. Check your hosts file/ nameservers. Also, before going ahead with the retry make sure you have enabled telnet service on your windows machine. Also note the service you are running and on which port (port 23 is the port that telnet runs on). The other obvious problem might be the Windows firewall, where the port 6556 (I'm guessing this is a customised port you are using) on the Windows machine you are trying to use is blocked. Good luck debugging! :-)

This is a related/similar question:
http://stackoverflow.com/questions/13393356/telnet-a-localhost

share|improve this answer

winhost is resolving to your local machine, not the remote windows one.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.