Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ports Problems RHEL5

Status
Not open for further replies.

reinstalled

IS-IT--Management
Feb 18, 2003
178
0
0
Still fairly new to Linux. Running RHEL5 and trying to open two ports. Learned more than I wanted to about iptables and SELinux but even with iptables stopped, and SELinux disables I am still unable to connect to the port(s) I need.

With iptables I added the following and saved the rule using iptables save.

iptables -I INPUT -p tcp --dport 2025 -j ACCEPT

Then a restart of iptables for good measure but nothing.

Thanks in advance.
 
Is something listening on that port? What does netstat show?
 
Thanks for the quick response. Right after posting I did decide to look at netstat and
found the ports I wanted were bound to the loopback address.

Quick edit of the hosts file fixed things up.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top