問題描述
如何使用 WSL 訪問 Odoo 12 (How to access Odoo 12 using WSL)
我已在 Ubuntu 18.04LTS 中將 Odoo 12 安裝為 WSL,一切似乎都很好,服務正在運行。但是,我不知道如何訪問 Odoo 頁面。我在 Windows (Chrome) 中嘗試過 0.0.0.0:8069
但它說:
無法訪問此站點 http://0.0.0.0:8069/ 可能暫時關閉,或者它可能已永久移至新網址。ERR_ADDRESS_INVALID
我在同一端口 localhost:8069
上運行了另一個 odoo 安裝。我試圖通過訪問 0.0.0.0:8069
來停止服務,但這也沒有用。
對此有什麼幫助嗎?
參考解法
方法 1:
I found what the error was.
The problem was a conflict with the port number for Odoo Windows and Odoo Ubuntu WSL. I only changed the Port number for one of them (I choose the Local Windows version) and now I have both versions are running:
Odoo windows running via localhost:9999 Odoo Ubuntu WSL running via localhost:8069
Thanks
方法 2:
- Check that your odoo server is actually running CORRECTLY (service odoo status, etc.)
- Ping your VM from the host. Don't try anything else unless you get a ping back.
- Try accesing http://localhost:8069 ( NOT https:// )
- Check that your odoo.conf is actually configured to point to port 8069
- Disable nginx a/o apache reverse proxies in the VM client.
</ol>
(by Elite Solutions、Elite Solutions、alejandrob)