Solved

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

Posted on 2001-08-10
2
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

621 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