
當我以這種方式配置反向代理時,一切正常。
<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 在防火牆中打開