Solved

redhat 7.1 can't access ftp, telnet server from remote hosts

Posted on 2001-08-10
2
215 Views
Last Modified: 2013-12-15
telnetd and ftptd have been installed properly.
'telnet localhost' works. but when trying to access ftp or telnet server, the error message'connection refused' appears.

network connection has been checked. No problem.

hosts.allow and hosts.deny files are empty.

what should i do?
0
Comment
Question by:bdp97126
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 6375534
BTW: You've got two copies of this question you can as the Community support folks to delete the other one and save yourself some points.

Assuming that you are trying to access telnet and/or FTP services on this box from another, the problem is likley to be that you took the default firewall configuration when 7.1 was installed. In that case you need to either modify the firewall rules to permit inbound telnet and FTP traffic, or disable the firewall entirely. The later can be done with:

# chkconfig --level 2345 ipchains off
# chkconfig --level 2345 iptables off

That will prevent the firewall from starting at the next boot, and you can kill the running firewall with:

# /etc/init.d/ipchains stop
# /etc/init.d/iptables stop
0
 

Author Comment

by:bdp97126
ID: 6379275
it worked.
thanks

0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question