Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TELNET

Status
Not open for further replies.

johny2K

Technical User
Dec 19, 2001
184
CA
i tried to open "www, ftp, ssh, telnet" using redhat-config-securitylevel (ticked/checked option), but i'm still getting "connection rejected by host" everytime i tried telnet.

any idea?
 
Sounds like your personal (local) firewall is blocking,

From the servers command line (as root) do: ipchains -L this will show you a list of the rules inplace.

Turn off the firewall and test again (service ipchains stop) or /etc/init.d/ipchains stop

Also confirm that those ports are listening with: netstat -l

Good Luck,
Laurie.
 
Also check and see if you have those services running. Xinetd and so on .

 
hello,

here's what i got:

/etc/init.d/ipchains stop is not compatible with the current kernel.

$ telnet 192.168.1.12
trying 192.168.1.12
telnet: Unable to connect to remote host: Connection refused
$

and finally - I can telnet from this machine to other UNIX box/es.

thanks
 
finaly, here's what i've done:

1. login as root
2. go to /etc/xinetd.d directory
3. edit telnet file
4. change line disable = yes to
disable = no
5. restart xinetd, by;

/etc/init.d/xinetd restart

6. at command prompt, run redhat-config-securitylevel
7. tick/check all you wanted to start/avail; ftp, ssh, telnet, etc.
8. test it, by:

telnet <hostname> or

telnet <ip_address>

presto!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top