我将很快在服务器上升级到Linux Debian 6.0 "Squeeze",我想知道如何在许多专用于不同事情的端口上使用Python作为web服务器。
Ports Directory Description
80, 443 /var/www/sitegen/ Take all domains and generate a site from the SQL DB
444, 1000-3000 /var/www/manager/ Take 444 as a PHP server manager and th
使用nmap探测会在几个端口上返回BlackICE,但是它似乎是一个非常老的工具根据这些手册。
Starting Nmap 7.80 ( https://nmap.org ) at 2022-10-16 20:27 EDT
Nmap scan report for _gateway (192.168.0.1)
Host is up (0.059s latency).
Not shown: 995 closed ports
PORT STATE SERVICE VERSION
80/tcp open http lighttpd
44
我的Apache2.4在Windows 2008 R2上使用Xampp 1.8.2时遇到了一个非常奇怪的问题。
当我试图在XAMPP中启动Apache服务器时,会显示一条错误消息:
[Apache] Problem detected!
[Apache] Port 443 in use by "Unable to open process" with PID 4!
[Apache] Apache WILL NOT start without the configured ports free!
[Apache] You need to uninstall/
我刚刚在AWS实例(运行Linux )上将Apache更新为2.4.3。更新完成后,Apache使用以下内容崩溃:
Starting httpd: AH00526: Syntax error on line 5 of /etc/httpd/conf.d/ssl.conf:
Cannot define multiple Listeners on the same IP:port
我进入了上面的文件并注释掉了第5行:#Listen 443,因为新的httpd.conf包含一个行,其中已经设置了上面的侦听器:
httpd.conf:
40 ...
41 #Listen 12.34.56.78:8