LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-16-2003, 11:35 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, 01:42 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
check your firewall rules:
iptables -L

You can add a new rule like:
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 
Old 07-17-2003, 05:03 AM   #3
gosha
LQ Newbie
 
Registered: Jul 2003
Location: Israel
Distribution: Mandrake 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
david_ross,

Thanks.
It solved the problem.


Gosha
 
  


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
port 25 is closed? abd_bela Red Hat 3 04-12-2005 04:58 PM
is the 25 port closed abd_bela Linux - Networking 5 08-18-2004 09:27 AM
apache and micticaly closed port gosha Linux - Security 3 07-17-2003 05:22 AM
port closed hotrodowner Linux - Networking 2 12-02-2002 06:06 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 12:20 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration