Не удается подключиться к серверу Apache в XAMPP (порт 443)

не могу подключиться к моему серверу apache, так как есть эта проблема:

13:55:14  [main]    Initializing Control Panel
13:55:14  [main]    Windows Version: Windows 7 Home Premium SP1 64-bit
13:55:14  [main]    XAMPP Version: 1.8.2
13:55:14  [main]    Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
13:55:14  [main]    Running with Administrator rights - good!
13:55:14  [main]    XAMPP Installation Directory: "c:\xampp\"
13:55:14  [main]    Checking for prerequisites
13:55:14  [main]    All prerequisites found
13:55:14  [main]    Initializing Modules
13:55:14  [Apache]  Problem detected!
13:55:14  [Apache]  Port 443 in use by "Unable to open process" with PID 4!
13:55:14  [Apache]  Apache WILL NOT start without the configured ports free!
13:55:14  [Apache]  You need to uninstall/disable/reconfigure the blocking application
13:55:14  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
13:55:14  [main]    Enabling autostart for module "Apache"
13:55:14  [main]    Starting Check-Timer
13:55:14  [main]    Control Panel Ready
13:55:15  [Apache]  Autostart active: starting...
13:55:15  [Apache]  Problem detected!
13:55:15  [Apache]  Port 443 in use by "Unable to open process" with PID 4!
13:55:15  [Apache]  Apache WILL NOT start without the configured ports free!
13:55:15  [Apache]  You need to uninstall/disable/reconfigure the blocking application
13:55:15  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
13:55:15  [Apache]  Attempting to start Apache app...
13:55:16  [Apache]  Status change detected: running
13:55:18  [Apache]  Status change detected: stopped
13:55:18  [Apache]  Error: Apache shutdown unexpectedly.
13:55:18  [Apache]  This may be due to a blocked port, missing dependencies, 
13:55:18  [Apache]  improper privileges, a crash, or a shutdown by another method.
13:55:18  [Apache]  Press the Logs button to view error logs and check
13:55:18  [Apache]  the Windows Event Viewer for more clues
13:55:18  [Apache]  If you need more help, copy and post this
13:55:18  [Apache]  entire log window on the forums
13:57:09  [Apache]  Status change detected: running
13:57:11  [Apache]  Status change detected: stopped
13:57:11  [Apache]  Error: Apache shutdown unexpectedly.
13:57:11  [Apache]  This may be due to a blocked port, missing dependencies, 
13:57:11  [Apache]  improper privileges, a crash, or a shutdown by another method.
13:57:11  [Apache]  Press the Logs button to view error logs and check
13:57:11  [Apache]  the Windows Event Viewer for more clues
13:57:11  [Apache]  If you need more help, copy and post this
13:57:11  [Apache]  entire log window on the forums

Посмотрел другие ответы, не очень помогает. Пробовал изменить порт в конфигурационном файле ssl, снял галочки с 80 и 443 портов как альтернативы в скайпе.

Вывод из консоли:

C:\windows\system32>netstat -a -n -o |findstr 443


TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       4
TCP    127.0.0.1:55443        127.0.0.1:55444        ESTABLISHED     5688
TCP    127.0.0.1:55444        127.0.0.1:55443        ESTABLISHED     5688
TCP    137.195.217.195:49765  217.69.138.96:443      ESTABLISHED     6396
TCP    137.195.217.195:49906  91.190.218.65:443      TIME_WAIT       0
TCP    137.195.217.195:49933  217.121.239.186:443    TIME_WAIT       0
TCP    137.195.217.195:49934  109.226.143.173:443    TIME_WAIT       0
TCP    137.195.217.195:49941  82.238.69.143:443      TIME_WAIT       0
TCP    137.195.217.195:49942  77.250.206.134:443     TIME_WAIT       0
TCP    137.195.217.195:50234  91.190.218.17:443      TIME_WAIT       0
TCP    137.195.217.195:50369  46.118.72.191:443      TIME_WAIT       0
TCP    137.195.217.195:50370  140.164.26.217:443     TIME_WAIT       0
TCP    137.195.217.195:50379  92.122.83.240:443      ESTABLISHED     5512
TCP    [::]:443               [::]:0                 LISTENING       4

Любые предложения о том, как, наконец, использовать XAMPP без проблем? заранее спасибо


person Messerschmitt    schedule 05.12.2013    source источник
comment
Вы пробовали использовать альтернативные порты? Журнал и выходные данные, по-видимому, указывают на то, что порт уже используется через это сообщение Port 443 in use by "Unable to open process" with PID 4!.   -  person SamV    schedule 05.12.2013
comment
Да, я написал в разделе вопросов, что пытался изменить порт в конфигурации ssl. Поменял на 444, все равно безрезультатно   -  person Messerschmitt    schedule 05.12.2013


Ответы (3)


Попробуйте изменить настройки процесса с pid 4, чтобы не использовать порт 443 или закрыть его. Если это не вариант, попробуйте изменить порт apache. Руководство по изменению порта: http://complete-concrete-concise.com/web-tools/how-to-change-the-apache-port-in-xampp РЕДАКТИРОВАТЬ: случайно опубликовал изменение порта apache, а не ssl, вот руководство для ssl и apache: http://furqansindhu.wordpress.com/2012/03/07/change-apache-port-in-xampp/

person Rodi Lankester    schedule 05.12.2013
comment
Я упомянул, что уже пытался изменить порт в своем вопросе. Во всяком случае, теперь я разобрался с проблемой. Спасибо за помощь в любом случае. - person Messerschmitt; 05.12.2013

Вы должны изменить порт ssl на xampp\apache\conf\extra\httpd-ssl.conf . Ищите 443, меняйте на 4430 или любой другой, который вам нравится. Он должен работать.

person sagits    schedule 05.12.2014

Я получаю эту проблему при запуске нескольких копий XAMPP или после закрытия и открытия несколько раз.

По сути, httpd.exe остается открытым в фоновом режиме и держит открытыми порты. Сообщение об ошибке кажется общим, поскольку в нем просто говорится, что он не может открыть порт 80/443, даже если вы изменили его на что-то другое.

Возможно, что что-то еще использует указанные вами порты. Вы можете проверить это, запустив resmon.exe, перейдя на вкладку «Сеть» и просмотрев процессы, перечисленные в разделе «Прослушивание портов». Если вы обнаружите конфликт, вам нужно либо убить процесс, либо изменить порт на другой, свободный.

Следуйте приведенным ниже инструкциям, чтобы убить процесс httpd.exe в Windows 8...

  1. Закройте XAMPP.
  2. Запустите диспетчер задач (Ctrl+Shift+Escape).
  3. Щелкните вкладку Подробности.
  4. найдите httpd.exe и выберите его.
  5. Нажмите «Завершить задачу», затем подтвердите.
  6. Запустите XAMPP.
  7. Нажмите «Пуск» для служб, которые вы хотите запустить.
person ScaryLooking    schedule 29.04.2015