iDempiere

iDempiere Port Forwording

2019-06-01 最後更新:2026-02-20) · 2 分鐘 · Ray Lee (System Analyst)

iDempiere 預設 https port 為 8443. 若要修改為443 需要用到 root 權限. 安全上考量,建議維持 8443 Port. 再利用 iptables 進行Port Forwarding即可. 參考程式碼如下.

sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8443
English Version

iDempiere’s default HTTPS port is 8443. To change it to 443 requires root privileges. For security reasons, it is recommended to keep port 8443 and use iptables for port forwarding instead. Reference code below.

sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8443
日本語版

iDempiereのデフォルトHTTPSポートは8443です。443に変更するにはroot権限が必要です。セキュリティ上の考慮から、8443ポートを維持したまま、iptablesでポートフォワーディングを行うことを推奨します。参考コードは以下の通りです。

sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8443
Ray Lee (System Analyst)
作者 Ray Lee (System Analyst)

iDempeire ERP Contributor, 經濟部中小企業處財務管理顧問 李寶瑞