LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-19-2004, 06:26 PM   #1
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Rep: Reputation: 32
My server is rejecting all ports


My server is rejecting all ports even though I disabled the firewall, killed iptables, and checked everything I know of. No, this is not an issue with the hardware firewall. I can connect via http, ftp, or ssh FROM the server itself, but from any other computer it simply rejects the connection?

This started happening ever since the town I live in had a brownout. My server got turned off (not the healthy way) when this was happening. When I started it up again, I had to do a "e2fschk -c -y /dev/hda1", but other than that every thing seemed ok.

I am running RedHat 9.0 linux. I have a linksys router that connects my server to the world, I know its not the router because I am using another computer behind the router.

Please help! I need my server!
 
Old 09-19-2004, 06:44 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,826

Rep: Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727
You do not mention whether you can ping the router or the other PC and vice versa. Is the NIC configured with a dynamic or static IP address. Does the NIC still have a valid IP address etc. etc. Link lights illuminated. Verify the cable (assuming your not wireless) is still securely connected on both ends. Try swapping ports on the router. I had a NIC go bad or a hub port go bad which appeared to take out the other side.

BTW, your firewall probably allows all lo connections so accessing on the sever itself may not mean the firewall is disabled for eth0.
 
Old 09-19-2004, 06:52 PM   #3
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
"I know its not the router because I am using another computer behind the router."

Can you connect via http, ftp and ssh to the server from the "another computer"?
 
Old 09-19-2004, 07:01 PM   #4
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Original Poster
Rep: Reputation: 32
World connects to Router/firewall.
Other computer connected to router/firewall.
Server connected to router/firewall.

Router/firewall rejects all ports except 80 and 21, which it forwards to my server. I can ping my server from the Other computer, it just rejects me when I try to login via SSH, HTTP, or FTP, although proftp, apache, and sshd are running without problems. Every thing worked perfectly a few days ago before the server got shut down improperly.

Any ideas?

Last edited by The_Nerd; 09-19-2004 at 07:02 PM.
 
Old 09-19-2004, 07:35 PM   #5
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Sorry I read too fast' (edited out)

Last edited by micxz; 09-19-2004 at 07:40 PM.
 
Old 09-20-2004, 10:58 AM   #6
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Original Poster
Rep: Reputation: 32
Please forgive me for topping this, but I really do need to get my server up and running and Google isn't helping me. Thank you.
 
Old 09-20-2004, 06:41 PM   #7
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Original Poster
Rep: Reputation: 32
I figured out the problem after I reinstalled a newer version of linux on my server.

You will never belive this, but somehow my mothers computer (running WinblowsXP) set itself to DHCP on our static network, and somehow decided to give itself my servers IP address! The only way I ever figured this out, even though it is too late, is because my Mom came up to me and said that a little warning box kept poping up that said something about an IP conflict. So I went to check it out, and someone or something had set her IP resolution mode to DHCP in the network config dialog. So anyhow, my server is working great now. Thanks for all your time guys, at least I learned allot of stuff, and I needed to upgrade my server anyhow.

_|_ @ Winblows!
 
  


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
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
Rejecting IP/IP ranges on Apache wenberg Linux - Software 5 08-17-2004 07:03 AM
Sendmail is rejecting some mail member57 Linux - Networking 2 04-20-2004 11:18 AM
Sendmail rejecting IPs dskny Linux - Software 0 08-21-2003 10:11 AM
Rejecting Spam Emails vk1985 Linux - Networking 3 04-11-2003 04:36 AM


All times are GMT -5. The time now is 03:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration