Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2001-08-10
2
Medium Priority
?
225 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 300 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

886 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