Linux setup: firewall issue?

I installed RedHat 6.1.  All is well, except when I try to either: 1) ftp/telnet to the Linux install, or 2) access something on a non-standard port (e.g. http on 7000), I get errors telling me the connection is refused.  I'm new to Linux but my assumption is the default install has setup a firewall.  I'm already behind a firewall and just want this disabled.  Unfortunately, I can't figure out how.
BrindleFlyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

atroxCommented:
Seth, No defualt "firewall" is installed. There is probably nothing on http 7000.  AS for ftp/telnet.  You probably need to configure a user to do this.  If you are using root, it is usually disallowed by default for security reasons.  Create a user and try it.  Also Check your etc/inetd.conf to make sure ftp and telnet services are running (and a good file to know to check for everything else that is a potential security problem.)  I am not on a RedHat box so I dont know exactly but most distros also have files in etc like 'ftpaccess' and the like, this file controls who has access to ftp, telnet is similar.  
0
BrindleFlyAuthor Commented:
In this case, I have a Java Web server that I am starting at the command line.  It starts and listens on port 7001 (or so it says).  Any idea what could be going on?

How can I confirm an app is listening on a port?
0
BrindleFlyAuthor Commented:
In this case, I have a Java Web server that I am starting at the command line.  It starts and listens on port 7001 (or so it says).  Any idea what could be going on?

How can I confirm an app is listening on a port?
0
j2Commented:
Redhat does not install firewalling by default.

You will get connection refused on all ports that arent servicing a daemon.

You must also make sure that the port isnt in use in /etc/inetd.conf (unless YOUR application is launched via inetd)

netstat -a and netstat -aN will show you all ports which have listeners.

like:

tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN  

means that something is listening on port 25 on all interfaces (this is my SMTP)

udp        0      0 192.168.0.254:53        0.0.0.0:*

means that i have a DNS listening only on my internal interface.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
atroxCommented:
what about the ftp telnet, I could not have guessed that you have a java server on 7000, that would have been useful info though.  can you ftp and telnet with standard user accounts?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.