LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-16-2003, 10:14 AM   #1
gosha
LQ Newbie
 
Registered: Jul 2003
Location: Israel
Distribution: Mandrake 9.1
Posts: 5

Rep: Reputation: 0
apache and micticaly closed port


Hi all,
I have server with Linux(Mandrake 9.1) with apache2 on it.
I successfully have run it.
netstat -l shows that server is listening to port http(80),
but i can't access the server from external computer in the LAN.
If I run apache on another port - the same thing happens.
But if i run httpd on port of ftp or ssh , it's possible to access the
server by
server:21 or server:22.
I guess , that somewhere in configuration files the port of http and
other port are closed .
Please help..

Tnx
 
Old 07-16-2003, 03:49 PM   #2
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
run iptables -L and see it you are blocking port 80. If you do you need to flush the rules with. i think /etc/init.d/iptables stop. Not sure though never run mandy before.
 
Old 07-17-2003, 04:05 AM   #3
gosha
LQ Newbie
 
Registered: Jul 2003
Location: Israel
Distribution: Mandrake 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
jstu

Thanks
It solved the problem

Gosha
 
Old 07-17-2003, 04:22 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Reply



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
port 25 is closed? abd_bela Red Hat 3 04-12-2005 03:58 PM
is the 25 port closed abd_bela Linux - Networking 5 08-18-2004 08:27 AM
apache and micticaly closed port gosha Linux - Networking 2 07-17-2003 04:03 AM
port closed hotrodowner Linux - Networking 2 12-02-2002 05:06 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:00 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
Open Source Consulting | Domain Registration