Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Apache] Port 80 toujours ouvert [résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Jamesbch
Apprentice
Apprentice


Joined: 30 Sep 2007
Posts: 185

PostPosted: Mon Dec 29, 2008 12:03 pm    Post subject: [Apache] Port 80 toujours ouvert [résolu] Reply with quote

Bonjour à tous,

Mon problème est assez simple. J'utilise apache pour mon petit serveur web fonctionnel que sur le réseau local pour le moment. Celui-ci écoute sur le port 6680, paramétré dans le fichier httpd.conf. Seulement voilà, apache2 écoute aussi sur le port 80 que je bloque avec iptables temporairement.

J'ai regardé dans les fichiers de configuration mais grep n'a vu aucun fichier de base avec 80 dedans (je les ai pas tous regardé). Je pense qu'il y a moyen de changer ça tout de même ?

Quote:
# netstat -tanp
[...]
tcp6 0 0 :::80 :::* LISTEN 31465/apache2
tcp6 0 0 :::6680 :::* LISTEN 31465/apache2


Je travaille uniquement en tcp4, et les deux ports sont accessible depuis mon navigateur.
Merci d'avance.
_________________
Desktop: Gigabyte EX38-DS4, Intel Q9450 2.6 GHz, 4 GiB DDR2, Nnvidia GTX 285.
Home-Server: Gigabyte 945GCM-S2L, Intel E2180 2.2 GHz, 2 GiB DDR2, Intel 82945G.
Laptop: Asus 1215N, Atom D525 1.4 Ghz, 2 GiB, Intel + Ion2


Last edited by Jamesbch on Tue Dec 30, 2008 12:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
sd44
Apprentice
Apprentice


Joined: 21 Jul 2007
Posts: 277
Location: Nantes 44

PostPosted: Tue Dec 30, 2008 6:27 am    Post subject: Reply with quote

vérifie dans tes fichiers vhost/* et cherche "listen 80"
_________________
Pourquoi faire simple quand on peut faire compliqué ?
Back to top
View user's profile Send private message
Jamesbch
Apprentice
Apprentice


Joined: 30 Sep 2007
Posts: 185

PostPosted: Tue Dec 30, 2008 12:20 pm    Post subject: Reply with quote

Salut sd44,

Tu as tout juste, c'est même le fichier 00_default_vhost.conf dans vhosts.d/ qui configure les vhosts. J'ai pas trop compris à quoi il sert mais j'ai commenté le fichier en entier et ça fonctionne.

Ce qui est des VirtualHosts j'ai directement configuré ceci dans httpd.conf, je pense que le fichier que j'ai commenté sert à mettre tous les vhosts. Enfin bon, super !

Merci sd44 !
_________________
Desktop: Gigabyte EX38-DS4, Intel Q9450 2.6 GHz, 4 GiB DDR2, Nnvidia GTX 285.
Home-Server: Gigabyte 945GCM-S2L, Intel E2180 2.2 GHz, 2 GiB DDR2, Intel 82945G.
Laptop: Asus 1215N, Atom D525 1.4 Ghz, 2 GiB, Intel + Ion2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum