Joomla.it Forum

Non solo Joomla... => Sezione dedicata ai Server => : .Andrea S. 04 Sep 2007, 14:49:24

: [risolto] Xampp - cambiare porta
: .Andrea S. 04 Sep 2007, 14:49:24
Ciao,

Uso Xampp in locale e mi trovo bene, ho da poco installato anche skype che (essendoci il firewall aziendale) mi lavora sulla porta 80, credo che vada in conflitto con il modulo apache di xampp (che lavora sempre sulla 80), perchè se voglio lanciare xampp devo chiudere skype.

Domanda: è possibile cambiare la porta del modulo Apache di xampp?
Grazie
: Re: Xampp - cambiare porta
: bigham 04 Sep 2007, 14:56:21
Ciao Andrea.

Credo tu debba modificare il file httpd.conf che si trova nella cartella C:\xampp\apache\conf. Li ci sono i riferimenti alla porta che usa apache.
Dopo la modifica riavvia apache dalla console e prova.

: Re: Xampp - cambiare porta
: .Andrea S. 04 Sep 2007, 15:11:11
Grazie per la risposta.

Nel file che mi hai indicato c'è:
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:80
Ho provato a modificare ma non cambia, anche perchè se leggi dice che viene determinato automaticamente.

E c'è questo:
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
(ovviamente ho anche cambiato entrambi i valori insieme)

Provato a modificare anche questo ma stesso risultato lancia sempre la 80...
 :-\
: Re: [risolto] Xampp - cambiare porta
: .Andrea S. 04 Sep 2007, 15:30:21
Ho risolto lanciando prima xampp e poi skype, evidentemente skype ha due porte alternative se ne trova una occupata punta sull'altra.
Grazie del supporto.  :)
: Re: [risolto] Xampp - cambiare porta
: bigham 04 Sep 2007, 15:58:36
Ciao Andrea.

Comunque la soluzione è quella.
Ho provato con
Listen 8081
ServerName localhost:8081
Ho riavviato apache e non mi rispondeva più la porta 80 ma la 8081.

L'importante è risolvere i problemi   :D
Come... non ha importanza  ;D
: Re: [risolto] Xampp - cambiare porta
: .Andrea S. 04 Sep 2007, 16:18:13
Listen 8081
ServerName localhost:8081
Ho riavviato apache e non mi rispondeva più la porta 80 ma la 8081.

Ok, allora riprovo.  ;)