如何使用 WSL 訪問 Odoo 12 (How to access Odoo 12 using WSL)


問題描述

如何使用 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:

  1. Check that your odoo server is actually running CORRECTLY (service odoo status, etc.)
  2. Ping your VM from the host. Don't try anything else unless you get a ping back.
  3. Try accesing http://localhost:8069 ( NOT https:// )
  4. Check that your odoo.conf is actually configured to point to port 8069
  5. Disable nginx a/o apache reverse proxies in the VM client.

  6. </ol>

    (by Elite SolutionsElite Solutionsalejandrob)

    參考文件

    1. How to access Odoo 12 using WSL (CC BY‑SA 2.5/3.0/4.0)

#port #windows-subsystem-for-linux #odoo-12 #odoo






相關問題

使用java應用程序在linux中打開端口 (Open port in linux with java application)

如何在linux中了解特定端口的流量 (How to know traffic to a specific port in linux)

HDMI 連接不發送 WM_DEVICE_ARRIVAL 消息 (HDMI Connection Does Not Send WM_DEVICE_ARRIVAL Message)

移植安卓4.2 (Port android 4.2)

如何等到服務器上線才能訪問 REST API (How to wait till a server goes online to access a REST API)

與 apache 網絡服務器和 Node.js REST 服務器共享 HTTP 端口 80 (Share HTTP port 80 with apache webserver and Node.js REST server)

lighttpd:身份驗證後如何將端口(僅對本地主機可見)轉發到 WAN? (lighttpd: How to forward port (visible only to localhost) to WAN after authentication?)

通過警報端口重定向所有程序數據包 (Redirect all program packets through alerternate port)

在同一台計算機上的兩個程序之間發送和接收 UDP 數據包 (Sending and receiving UDP packets between two programs on the same computer)

是否可以更改 WAMP 調用的 url? (Is it possible to change the url called by WAMP?)

ServerSelectionTimeoutError:documentdb.documents.azure.com:10255:超時 (ServerSelectionTimeoutError: documentdb.documents.azure.com:10255: timed out)

kubernetes 正在暴露未聲明的端口 (kubernetes is exposing not declared port)







留言討論