Solved

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

Posted on 2001-08-10
2
209 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
need to clone a white copy of a linux device 2 75
linux ssh 4 59
nagios remote hosts 9 46
How to install Ubuntu 16 in DELL venue 8 pro 20 53
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…
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 …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now