LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Re: Port 80,8080,8081,8082 Closed (https://www.linuxquestions.org/questions/linux-newbie-8/re-port-80-8080-8081-8082-closed-664351/)

jmzcons 08-21-2008 10:04 AM

Re: Port 80,8080,8081,8082 Closed
 
Hi there
Can anyone help me open these ports.
I have a dell server with linux redhat 9 connected to a linksys wrt54gx4
all worked ok until I reset router and server. Cannot access my website.
Dns report says my ports are closed although I see them all forwarded in menu in linksys program. Should I run iptables stop or something to open tables. I cannot even get into startx. think file corrupted or something. I have to work from prompt.
please help...
James
jmzcons@gmail.com

r3sistance 08-21-2008 11:02 AM

Sounds like it's iptables, but Redhat 9 is old and I am not sure what it comes packaged with to be sure. You could add rules to iptables and then save them so you don't just get the same problem over and over, also means you aren't opening yourself to alot more potential security vunabilities, using a distro/version that is no longer supported.

jmzcons 08-21-2008 11:20 AM

So you think placing command like IPTABLES STOP wil do the trick or something like that...

r3sistance 08-21-2008 11:48 AM

you mean "/etc/init.d/iptables stop" but I dunno with red hat 9... I really would NOT advise it, I would actually configure iptables correctly and save the configuration, your using such an old distro after all, their is no telling what security issues you'd open yourself to by disabling iptables...

trickykid 08-21-2008 11:55 AM

A better way is to first ensure you have any iptables rules setup in the first place:

iptables -L

If no rules are there blocking these ports, it's a router issue not forwarding them. If you see rules in place, test by doing a:

iptables -F

To flush the rules. If they're still blocked or unaccessible, I'd imagine when you reset your router, it's horked. Maybe another reset, clear out forwarding rules and recreate them. Then scan to see if they're open or not, if not, then it's time to go talk to Linksys.


All times are GMT -5. The time now is 07:15 PM.