Apache 反向代理不適用於 80 和 443 以外的端口

Apache 反向代理不適用於 80 和 443 以外的端口

當我以這種方式配置反向代理時,一切正常。

<VirtualHost *:80>
    ProxyPreserveHost On
    ServerName isa.example.com
    ProxyPass / http://192.168.178.192:5000/
    ProxyPassReverse / http://192.168.178.192:5000/
</VirtualHost>

但在這個例子中,隨機連接埠 1920 沒有任何作用。

<VirtualHost *:1920>
    ProxyPreserveHost On
    ServerName isa.example.com
    ProxyPass / http://192.168.178.192:5000/
    ProxyPassReverse / http://192.168.178.192:5000/
</VirtualHost>

錯誤可能出在哪裡?是的,連接埠 1920 在防火牆中打開

相關內容