LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2008, 11:04 AM   #1
jmzcons
LQ Newbie
 
Registered: Feb 2005
Location: Ont, Canada
Distribution: Linux Distro
Posts: 18

Rep: Reputation: 0
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
 
Old 08-21-2008, 12:02 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
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.
 
Old 08-21-2008, 12:20 PM   #3
jmzcons
LQ Newbie
 
Registered: Feb 2005
Location: Ont, Canada
Distribution: Linux Distro
Posts: 18

Original Poster
Rep: Reputation: 0
So you think placing command like IPTABLES STOP wil do the trick or something like that...
 
Old 08-21-2008, 12:48 PM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
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...
 
Old 08-21-2008, 12:55 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Port 80,8080,8081,8082 Closed jmzcons Linux - Newbie 2 08-21-2008 04:42 PM
access 8080 web server port through squid running on 8080 sunethj Linux - Networking 11 05-18-2007 03:38 AM
Use eth1 for port 8081 x_terminat_or_3 Linux - Networking 4 04-06-2007 05:36 AM
Double Port redirect on web server like myurl.com:8000:8081 bruce1271 Linux - General 2 03-07-2007 09:12 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 01:16 PM


All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration